Add the App.commandLine API to control Chromium's command line.
This commit is contained in:
parent
394bf0a8d9
commit
61bca04dfd
4 changed files with 50 additions and 3 deletions
|
@ -14,6 +14,8 @@ app.on('window-all-closed', function() {
|
|||
});
|
||||
|
||||
delegate.browserMainParts.preMainMessageLoopRun = function() {
|
||||
app.commandLine.appendSwitch('js-flags', '--harmony_collections');
|
||||
|
||||
mainWindow = new BrowserWindow({ width: 800, height: 600 });
|
||||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue