isMacAppStore implementation
This commit is contained in:
parent
901c353cb9
commit
cf80b871bc
|
@ -4,7 +4,10 @@ import {
|
||||||
shell,
|
shell,
|
||||||
} from 'electron';
|
} from 'electron';
|
||||||
|
|
||||||
import { isDev } from '../scripts/utils';
|
import {
|
||||||
|
isDev,
|
||||||
|
isMacAppStore,
|
||||||
|
} from '../scripts/utils';
|
||||||
|
|
||||||
import { DeviceType } from 'jslib/enums/deviceType';
|
import { DeviceType } from 'jslib/enums/deviceType';
|
||||||
|
|
||||||
|
@ -73,6 +76,10 @@ export class DesktopPlatformUtilsService implements PlatformUtilsService {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isMacAppStore(): boolean {
|
||||||
|
return isMacAppStore();
|
||||||
|
}
|
||||||
|
|
||||||
analyticsId(): string {
|
analyticsId(): string {
|
||||||
if (this.analyticsIdCache) {
|
if (this.analyticsIdCache) {
|
||||||
return this.analyticsIdCache;
|
return this.analyticsIdCache;
|
||||||
|
|
Loading…
Reference in New Issue