diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-10-27 15:24:40 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-10-27 15:27:29 +0100 |
| commit | 0e05f3d156a65f9bda24c99b4897c46094f75552 (patch) | |
| tree | 99d991a8a936ca299c87ed0bd7a1417de32b3ac4 /gui/src | |
| parent | 4167c40f504e007d473df06498894aa5c4ba2af5 (diff) | |
| download | mullvadvpn-0e05f3d156a65f9bda24c99b4897c46094f75552.tar.xz mullvadvpn-0e05f3d156a65f9bda24c99b4897c46094f75552.zip | |
Show app version in settings when failing to connect to daemon
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/index.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 6aa456b15e..33027f32e3 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -540,6 +540,12 @@ class ApplicationMain { } else { log.info('Disconnected from the daemon'); } + + // Set GUI version info if it hasn't already been done. Only happens if the app starts without a + // connection to the daemon. + if (this.currentVersion.gui === '') { + this.setDaemonVersion(''); + } }; private connectToDaemon() { |
