diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-07-13 10:41:04 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-07-13 14:04:30 +0200 |
| commit | 958d564526990d678ae327c2bf33bfa0fac0cacc (patch) | |
| tree | be46e35a0c8becfc869fa79ee592a1782f8e3ef0 /app | |
| parent | 6e086781dc35e54904c97cf284915fdabbde979c (diff) | |
| download | mullvadvpn-958d564526990d678ae327c2bf33bfa0fac0cacc.tar.xz mullvadvpn-958d564526990d678ae327c2bf33bfa0fac0cacc.zip | |
Read the address to the backend from the tempdir instead of the working directory
Diffstat (limited to 'app')
| -rw-r--r-- | app/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.js b/app/main.js index 980a678469..4f8d9e23be 100644 --- a/app/main.js +++ b/app/main.js @@ -59,7 +59,7 @@ const appDelegate = { }, _sendBackendInfo: (window: BrowserWindow) => { - const file = './.mullvad_rpc_address'; + const file = path.join(app.getPath('temp'), '.mullvad_rpc_address'); log.info('reading the ipc connection info from', file); fs.readFile(file, 'utf8', function (err,data) { |
