mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
adjustments for mas
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
} from 'electron';
|
||||
|
||||
import { Main } from '../main';
|
||||
import { isMacAppStore } from '../scripts/utils';
|
||||
|
||||
import { ConstantsService } from 'jslib/services/constants.service';
|
||||
|
||||
@@ -521,9 +522,12 @@ export class MenuMain {
|
||||
label: this.main.i18nService.t('aboutBitwarden'),
|
||||
role: 'about',
|
||||
},
|
||||
updateMenuItem,
|
||||
];
|
||||
|
||||
if (!isMacAppStore()) {
|
||||
firstMenuPart.push(updateMenuItem);
|
||||
}
|
||||
|
||||
template.unshift({
|
||||
label: 'Bitwarden',
|
||||
submenu: firstMenuPart.concat(firstMenuOptions, [
|
||||
|
||||
Reference in New Issue
Block a user