diff --git a/main.js b/main.js index 164f984..9108863 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,7 @@ const { app, BrowserWindow } = require('electron') require('electron-debug')({ showDevTools: true }); -const path = require('path') -const url = require('url') +const path = require('path'); +const url = require('url'); let win; @@ -11,7 +11,8 @@ function createWindow () { width: 600, height: 600, backgroundColor: '#ffffff', - icon: `file://${__dirname}/www/assets/logo.png` + icon: `file://${__dirname}/www/assets/logo.png`, + fullscreen: true }) win.loadURL(url.format({ pathname: path.join(__dirname, '/www/index.html'), protocol: 'file:', slashes: true })) @@ -20,6 +21,8 @@ function createWindow () { win.on('closed', function () { win = null }) + + win.removeMenu(); } // Create window on electron intialization