Verify --enable-sandbox/--no-sandbox command line

This commit is contained in:
Kevin Sawicki 2017-06-26 14:12:03 -07:00
parent 14178d9826
commit 0eaddd1565
3 changed files with 51 additions and 74 deletions

View file

@ -1,8 +1 @@
const { ipcRenderer } = require('electron')
if (process) {
process.once('loaded', function () {
ipcRenderer.send('processArgs', process.argv)
})
} else {
ipcRenderer.send('processArgs', 'unable to get process args')
}
require('electron').ipcRenderer.send('argv', process.argv)