Hide cursor and updated electron params

This commit is contained in:
Paul-Vincent Roll 2016-03-31 12:44:00 +02:00
parent f9734dbc8b
commit 9999b3aa0c
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@ let mainWindow;
function createWindow () {
// Create the browser window.
mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, autoHideMenuBar: true, nodeIntegration: false});
mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, autoHideMenuBar: true, webPreferences: {nodeIntegration: false}});
// and load the index.html of the app.
//mainWindow.loadURL('file://' + __dirname + '../../index.html');