summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/ipc-schema.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts
index 21d7b6216d..0ea4fdc662 100644
--- a/gui/src/shared/ipc-schema.ts
+++ b/gui/src/shared/ipc-schema.ts
@@ -57,6 +57,7 @@ export interface IAppStateSnapshot {
tunnelState: TunnelState;
settings: ISettings;
isPerformingPostUpgrade: boolean;
+ daemonAllowed?: boolean;
deviceState?: DeviceState;
relayList?: IRelayListWithEndpointData;
currentVersion: ICurrentAppVersionInfo;
@@ -124,6 +125,7 @@ export const ipcSchema = {
},
daemon: {
isPerformingPostUpgrade: notifyRenderer<boolean>(),
+ daemonAllowed: notifyRenderer<boolean>(),
connected: notifyRenderer<void>(),
disconnected: notifyRenderer<void>(),
},
@@ -141,6 +143,7 @@ export const ipcSchema = {
quit: send<void>(),
openUrl: invoke<string, void>(),
showOpenDialog: invoke<Electron.OpenDialogOptions, Electron.OpenDialogReturnValue>(),
+ showLaunchDaemonSettings: invoke<void, void>(),
},
location: {
get: invoke<void, ILocation>(),