mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-04-25 15:10:30 -04:00
Hide cursor and updated electron params
This commit is contained in:
parent
f9734dbc8b
commit
9999b3aa0c
2 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue