Add ability to set arbitrary arguments in a renderer process (#11850)
This commit is contained in:
parent
66b57858b8
commit
b3234f634b
6 changed files with 57 additions and 0 deletions
4
spec/fixtures/module/check-arguments.js
vendored
Normal file
4
spec/fixtures/module/check-arguments.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
var ipcRenderer = require('electron').ipcRenderer
|
||||
window.onload = function () {
|
||||
ipcRenderer.send('answer', process.argv)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue