isSelfHost
This commit is contained in:
parent
f5287e29a2
commit
20622db73c
|
@ -25,5 +25,6 @@ export abstract class PlatformUtilsService {
|
||||||
showDialog: (text: string, title?: string, confirmText?: string, cancelText?: string,
|
showDialog: (text: string, title?: string, confirmText?: string, cancelText?: string,
|
||||||
type?: string) => Promise<boolean>;
|
type?: string) => Promise<boolean>;
|
||||||
isDev: () => boolean;
|
isDev: () => boolean;
|
||||||
|
isSelfHost: () => boolean;
|
||||||
copyToClipboard: (text: string, options?: any) => void;
|
copyToClipboard: (text: string, options?: any) => void;
|
||||||
}
|
}
|
||||||
|
|
|
@ -170,6 +170,10 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
|
||||||
return isDev();
|
return isDev();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isSelfHost(): boolean {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
copyToClipboard(text: string, options?: any): void {
|
copyToClipboard(text: string, options?: any): void {
|
||||||
const type = options ? options.type : null;
|
const type = options ? options.type : null;
|
||||||
clipboard.writeText(text, type);
|
clipboard.writeText(text, type);
|
||||||
|
|
Loading…
Reference in New Issue