Feat(Win): remove windows menu

This commit is contained in:
Bertrand Benjamin 2018-11-30 09:10:32 +01:00
parent c1b7efc8c3
commit f82cc19871

View File

@ -16,6 +16,7 @@ protocol.registerStandardSchemes(['app'], { secure: true })
function createWindow () { function createWindow () {
// Create the browser window. // Create the browser window.
win = new BrowserWindow({ width: 800, height: 600 }) win = new BrowserWindow({ width: 800, height: 600 })
win.setMenu(null)
if (isDevelopment || process.env.IS_TEST) { if (isDevelopment || process.env.IS_TEST) {
// Load the url of the dev server if in development mode // Load the url of the dev server if in development mode