1
0
mirror of https://github.com/bitwarden/desktop synced 2025-12-16 00:03:22 +00:00

PS-91 bug/mas hide update option (#1446)

* PS-91 - hide update option if MAS build

* fix isMacAppStore
This commit is contained in:
Jake Fink
2022-03-24 15:55:06 -04:00
committed by GitHub
parent 6555312034
commit d2a7012d3f
3 changed files with 3 additions and 3 deletions

2
jslib

Submodule jslib updated: 9950fb42a1...5070a783a7

View File

@@ -42,7 +42,7 @@ export class AboutMenu implements IMenubarMenu {
return {
id: "checkForUpdates",
label: this.localize("checkForUpdates"),
visible: !isWindowsStore() && !isSnapStore() && isMacAppStore() == undefined,
visible: !isWindowsStore() && !isSnapStore() && !isMacAppStore(),
click: () => this.checkForUpdate(),
};
}

View File

@@ -40,7 +40,7 @@ export class FirstMenu {
id: "checkForUpdates",
label: this.localize("checkForUpdates"),
click: (menuItem) => this.checkForUpdate(menuItem),
visible: isMacAppStore() == undefined && !isWindowsStore() && !isSnapStore(),
visible: !isMacAppStore() && !isWindowsStore() && !isSnapStore(),
};
}