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

@ -1,4 +1,5 @@
body { body {
cursor: none;
margin: 60px; margin: 60px;
position: relative; position: relative;
background: #000; background: #000;

View File

@ -23,7 +23,7 @@ let mainWindow;
function createWindow () { function createWindow () {
// Create the browser window. // 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. // and load the index.html of the app.
//mainWindow.loadURL('file://' + __dirname + '../../index.html'); //mainWindow.loadURL('file://' + __dirname + '../../index.html');