diff --git a/js/electron.js b/js/electron.js index a736ea50..e49265b8 100755 --- a/js/electron.js +++ b/js/electron.js @@ -23,7 +23,7 @@ let mainWindow; function createWindow () { // Create the browser window. - mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, "auto-hide-menu-bar": true, "node-integration": false}); + mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, autoHideMenuBar: true, nodeIntegration: false}); // and load the index.html of the app. //mainWindow.loadURL('file://' + __dirname + '../../index.html');