From 3bc3533cba40ebfef5d55822de98660e4c9f4fd9 Mon Sep 17 00:00:00 2001 From: meriadec Date: Fri, 9 Feb 2018 09:42:57 +0100 Subject: [PATCH] Enable menu only on mac --- src/main/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/app.js b/src/main/app.js index 172909ad..80ac2ba6 100644 --- a/src/main/app.js +++ b/src/main/app.js @@ -178,7 +178,11 @@ app.on('ready', async () => { await installExtensions() } - Menu.setApplicationMenu(menu) + if (process.platform === 'darwin') { + Menu.setApplicationMenu(menu) + } else { + Menu.setApplicationMenu(null) + } preloadWindow = createPreloadWindow() })