fix(Linux): remove app menu shown pressing ALT key

This commit is contained in:
Fabio Di Stasio 2023-03-02 09:07:10 +01:00
parent 2c46269cf2
commit b925ff9c01
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ async function createMainWindow () {
trafficLightPosition: isMacOS ? { x: 10, y: 8 } : undefined,
backgroundColor: '#1d1d1d'
});
window.removeMenu();
mainWindowState.manage(window);
window.on('moved', saveWindowState);