summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2024-06-04 08:15:30 +0200
committerOskar Nyberg <oskar@mullvad.net>2024-06-05 14:42:34 +0200
commit63a12c0b8e10f21add4581efeab3c054e7fb3636 (patch)
tree9ab3774b71ec51b36d08421e9134c06c24db2f2b /gui/src
parentedea523d69508d64f7e1387d0dc2906ea9601dcd (diff)
downloadmullvadvpn-63a12c0b8e10f21add4581efeab3c054e7fb3636.tar.xz
mullvadvpn-63a12c0b8e10f21add4581efeab3c054e7fb3636.zip
Save executable path instead of application bundle path
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/main/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index fe733fa38b..f48b73d838 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -807,8 +807,8 @@ class ApplicationMain
// If the applications is a string (path) it's an application picked with the file picker
// that we want to add to the list of additional applications.
if (typeof application === 'string') {
- this.settings.gui.addBrowsedForSplitTunnelingApplications(application);
const executablePath = await splitTunneling!.resolveExecutablePath(application);
+ this.settings.gui.addBrowsedForSplitTunnelingApplications(executablePath);
await splitTunneling!.addApplicationPathToCache(application);
await this.daemonRpc.addSplitTunnelingApplication(executablePath);
} else {