diff --git a/src/abstractions/platformUtils.service.ts b/src/abstractions/platformUtils.service.ts index 98eb7e349a..debb19f6ae 100644 --- a/src/abstractions/platformUtils.service.ts +++ b/src/abstractions/platformUtils.service.ts @@ -25,5 +25,6 @@ export abstract class PlatformUtilsService { showDialog: (text: string, title?: string, confirmText?: string, cancelText?: string, type?: string) => Promise; isDev: () => boolean; + isSelfHost: () => boolean; copyToClipboard: (text: string, options?: any) => void; } diff --git a/src/electron/services/electronPlatformUtils.service.ts b/src/electron/services/electronPlatformUtils.service.ts index 04d8669b2f..dcd0224816 100644 --- a/src/electron/services/electronPlatformUtils.service.ts +++ b/src/electron/services/electronPlatformUtils.service.ts @@ -170,6 +170,10 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService { return isDev(); } + isSelfHost(): boolean { + return false; + } + copyToClipboard(text: string, options?: any): void { const type = options ? options.type : null; clipboard.writeText(text, type);