1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

isMacAppStore implementation

This commit is contained in:
Kyle Spearrin
2018-02-26 23:52:10 -05:00
parent 901c353cb9
commit cf80b871bc

View File

@@ -4,7 +4,10 @@ import {
shell,
} from 'electron';
import { isDev } from '../scripts/utils';
import {
isDev,
isMacAppStore,
} from '../scripts/utils';
import { DeviceType } from 'jslib/enums/deviceType';
@@ -73,6 +76,10 @@ export class DesktopPlatformUtilsService implements PlatformUtilsService {
return false;
}
isMacAppStore(): boolean {
return isMacAppStore();
}
analyticsId(): string {
if (this.analyticsIdCache) {
return this.analyticsIdCache;