diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-09-04 17:17:18 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-09-04 17:17:18 +0200 |
| commit | 8e059820b6ac96fa8ad4e269532ab5d077028b0f (patch) | |
| tree | c9337da92acdd9bb4d166408cbe4ceb0ff99d0a3 | |
| parent | 03d866731602740bcc92ed6bc048beeaf7ca3de9 (diff) | |
| parent | e12e67fa749726dbf9bb5cfefcf0bb5171daea3f (diff) | |
| download | mullvadvpn-8e059820b6ac96fa8ad4e269532ab5d077028b0f.tar.xz mullvadvpn-8e059820b6ac96fa8ad4e269532ab5d077028b0f.zip | |
Merge branch 'hardcode-rpc-address-file-path'
| -rw-r--r-- | app/main.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/main.js b/app/main.js index 63c80014f3..502bb439aa 100644 --- a/app/main.js +++ b/app/main.js @@ -14,7 +14,10 @@ const isMacOS = (process.platform === 'darwin'); const isLinux = (process.platform === 'linux'); const isWindows = (process.platform === 'win32'); -const rpcAddressFile = path.join(app.getPath('temp'), '.mullvad_rpc_address'); +const rpcAddressFile = isMacOS || isLinux + ? path.join('/tmp', '.mullvad_rpc_address') + : path.join(app.getPath('temp'), '.mullvad_rpc_address'); + let browserWindowReady = false; |
