diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-12-29 12:07:21 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-01-26 09:06:54 +0100 |
| commit | 2dcefcc1bfefacda59f647769b0dd751977d2c62 (patch) | |
| tree | 1d9bfb3e4b2be69c147dabca194aae0616d4b477 /gui/src/main | |
| parent | f055d887eba76100033176512129ede48523a7d3 (diff) | |
| download | mullvadvpn-2dcefcc1bfefacda59f647769b0dd751977d2c62.tar.xz mullvadvpn-2dcefcc1bfefacda59f647769b0dd751977d2c62.zip | |
Pass env and platform from process API over IPC to renderer
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 00a93bf3c0..551571ad49 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -1009,6 +1009,8 @@ class ApplicationMain { guiSettings: this.guiSettings.state, wireguardPublicKey: this.wireguardPublicKey, translations: this.translations, + platform: process.platform, + runningInDevelopment: process.env.NODE_ENV === 'development', })); IpcMainEventChannel.settings.handleSetAllowLan((allowLan: boolean) => |
