diff --git a/css/main.css b/css/main.css index de6b2266..6492d8a8 100644 --- a/css/main.css +++ b/css/main.css @@ -1,4 +1,5 @@ body { + cursor: none; margin: 60px; position: relative; background: #000; diff --git a/js/electron.js b/js/electron.js index e49265b8..fc05c10e 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, 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');