Merge pull request #112 from paviro/v2-beta

Hide cursor and updated electron params
This commit is contained in:
Michael Teeuw 2016-03-31 13:30:54 +02:00
commit 971729dfdd
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, "auto-hide-menu-bar": true, "node-integration": 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');