From cf80b871bc07208432e39e56f1381507e913c4ba Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 26 Feb 2018 23:52:10 -0500 Subject: [PATCH] isMacAppStore implementation --- src/services/desktopPlatformUtils.service.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/services/desktopPlatformUtils.service.ts b/src/services/desktopPlatformUtils.service.ts index 35df4ed2..0c3b5e4d 100644 --- a/src/services/desktopPlatformUtils.service.ts +++ b/src/services/desktopPlatformUtils.service.ts @@ -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;