From 35356d1d3c41a5cce159c7ad377c636f36e746ce Mon Sep 17 00:00:00 2001 From: Heath123 Date: Fri, 31 Dec 2021 15:46:31 +0000 Subject: [PATCH] Hide menu bar --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index d1a7efb..a7d1627 100644 --- a/src/index.js +++ b/src/index.js @@ -141,6 +141,8 @@ function createWindow() { icon: resourcesPath + 'icons/icon.png' }) + win.setMenuBarVisibility(false) + // Open the DevTools. // win.webContents.openDevTools() electronLocalShortcut.register(win, 'F12', () => {