Skip to content

Commit 5f5f24e

Browse files
author
Christopher Willis-Ford
committed
fix unwanted menu bar on Windows
1 parent 0b6652c commit 5f5f24e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ const createMainWindow = () => {
152152
if (process.platform === 'darwin') {
153153
const osxMenu = Menu.buildFromTemplate(MacOSMenu(app));
154154
Menu.setApplicationMenu(osxMenu);
155+
} else {
156+
// disable menu for other platforms
157+
Menu.setApplicationMenu(null);
155158
}
156159

157160
// quit application when all windows are closed

0 commit comments

Comments
 (0)