Explicitly hide main window menu

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-12-08 14:37:31 +03:00
1 parent 7ea37913b0
commit 44614b8d77
1 file changed
+1
+1
View File
@@ -95,6 +95,7 @@ export class WindowManager extends Singleton {
contextIsolation: false,
},
});
this.mainWindow.removeMenu(); // Hide menu bar both in Windows and Linux
this.windowState.manage(this.mainWindow);
// open external links in default browser (target=_blank, window.open)