1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Explicitly hide main window menu

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-12-08 14:37:31 +03:00
parent 7ea37913b0
commit 44614b8d77

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)