diff options
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/ipc-schema.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts index 93f6b66b92..a20213f424 100644 --- a/gui/src/shared/ipc-schema.ts +++ b/gui/src/shared/ipc-schema.ts @@ -46,7 +46,6 @@ export interface IAppStateSnapshot { accountHistory?: AccountToken; tunnelState: TunnelState; settings: ISettings; - location?: ILocation; relayListPair: IRelayListPair; currentVersion: ICurrentAppVersionInfo; upgradeVersion: IAppVersionInfo; @@ -112,9 +111,6 @@ export const ipcSchema = { connected: notifyRenderer<void>(), disconnected: notifyRenderer<void>(), }, - location: { - '': notifyRenderer<ILocation>(), - }, relays: { '': notifyRenderer<IRelayListPair>(), }, @@ -129,6 +125,9 @@ export const ipcSchema = { openUrl: invoke<string, void>(), showOpenDialog: invoke<Electron.OpenDialogOptions, Electron.OpenDialogReturnValue>(), }, + location: { + get: invoke<void, ILocation>(), + }, tunnel: { '': notifyRenderer<TunnelState>(), connect: invoke<void, void>(), |
