summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/ipc-schema.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-12-29 12:07:21 +0100
committerOskar Nyberg <oskar@mullvad.net>2021-01-26 09:06:54 +0100
commit2dcefcc1bfefacda59f647769b0dd751977d2c62 (patch)
tree1d9bfb3e4b2be69c147dabca194aae0616d4b477 /gui/src/shared/ipc-schema.ts
parentf055d887eba76100033176512129ede48523a7d3 (diff)
downloadmullvadvpn-2dcefcc1bfefacda59f647769b0dd751977d2c62.tar.xz
mullvadvpn-2dcefcc1bfefacda59f647769b0dd751977d2c62.zip
Pass env and platform from process API over IPC to renderer
Diffstat (limited to 'gui/src/shared/ipc-schema.ts')
-rw-r--r--gui/src/shared/ipc-schema.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts
index deead2557a..a31745c01f 100644
--- a/gui/src/shared/ipc-schema.ts
+++ b/gui/src/shared/ipc-schema.ts
@@ -52,6 +52,8 @@ export interface IAppStateSnapshot {
guiSettings: IGuiSettingsState;
wireguardPublicKey?: IWireguardPublicKey;
translations: ITranslations;
+ platform: NodeJS.Platform;
+ runningInDevelopment: boolean;
}
// The different types of requests are: