diff --git a/jslib b/jslib index 5609fecb..1da72b9a 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 5609fecbcee6d0608ea28985c31688511e735a59 +Subproject commit 1da72b9a97111e2cf749dd6f18e85f98f321bf3d diff --git a/src/main/menu.main.ts b/src/main/menu.main.ts index fc3792e7..beef9db8 100644 --- a/src/main/menu.main.ts +++ b/src/main/menu.main.ts @@ -367,13 +367,6 @@ export class MenuMain extends BaseMenu { }, ]; - const firstMenuOptionsWindowsLinux: MenuItemConstructorOptions[] = [ - { - label: this.i18nService.t('quitBitwarden'), - role: 'quit', - }, - ]; - const updateMenuItem = { label: this.main.i18nService.t('checkForUpdates'), click: () => this.main.updaterMain.checkForUpdate(true), @@ -404,11 +397,10 @@ export class MenuMain extends BaseMenu { } else { // File menu template[0].submenu = (template[0].submenu as MenuItemConstructorOptions[]).concat( - firstMenuOptions); - if(process.platform === 'linux' || process.platform === 'win32') { - template[0].submenu = (template[0].submenu as MenuItemConstructorOptions[]).concat( - firstMenuOptionsWindowsLinux); - } + firstMenuOptions, { + label: this.i18nService.t('quitBitwarden'), + role: 'quit', + }); // About menu const aboutMenuAdditions: MenuItemConstructorOptions[] = [