1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

adjustments for mas

This commit is contained in:
Kyle Spearrin
2018-02-26 23:43:27 -05:00
parent 8db8557731
commit 36e0e32d10
4 changed files with 10 additions and 3 deletions

View File

@@ -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, [