1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00

no update for menu for snap store either

This commit is contained in:
Kyle Spearrin 2018-03-15 13:00:53 -04:00
parent c9d3452f05
commit 97607cd664

View File

@ -11,7 +11,7 @@ import {
} from 'electron'; } from 'electron';
import { Main } from '../main'; import { Main } from '../main';
import { isMacAppStore, isWindowsStore } from '../scripts/utils'; import { isMacAppStore, isWindowsStore, isSnapStore } from '../scripts/utils';
import { ConstantsService } from 'jslib/services/constants.service'; import { ConstantsService } from 'jslib/services/constants.service';
@ -588,7 +588,7 @@ export class MenuMain {
{ type: 'separator' }, { type: 'separator' },
]; ];
if (!isWindowsStore()) { if (!isWindowsStore() && !isSnapStore()) {
aboutMenuAdditions.push(updateMenuItem); aboutMenuAdditions.push(updateMenuItem);
} }