diff options
Diffstat (limited to 'app')
| -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; |
