From f82cc19871dc80e9e78c9e26f1aee18c78c0a4b2 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Fri, 30 Nov 2018 09:10:32 +0100 Subject: [PATCH] Feat(Win): remove windows menu --- src/background.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/background.js b/src/background.js index dfc629f..126597b 100644 --- a/src/background.js +++ b/src/background.js @@ -16,6 +16,7 @@ protocol.registerStandardSchemes(['app'], { secure: true }) function createWindow () { // Create the browser window. win = new BrowserWindow({ width: 800, height: 600 }) + win.setMenu(null) if (isDevelopment || process.env.IS_TEST) { // Load the url of the dev server if in development mode