Skip to content

Commit

Permalink
fix(client/electron): properly link tun2socks binary (#1936)
Browse files Browse the repository at this point in the history
* init commit

* revert this

* Update app_paths.ts

* Update go_vpn_tunnel.ts
  • Loading branch information
daniellacosse committed Apr 1, 2024
1 parent 68e75d6 commit 3cb3fe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/infrastructure/electron/app_paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ export function getAppPath() {
return electronAppPath;
}

export function pathToEmbeddedBinary(toolname: string, filename: string) {
return path.join(unpackedAppPath(), 'third_party', toolname, os.platform(), filename + (isWindows ? '.exe' : ''));
export function pathToEmbeddedBinary(filename: string) {
return path.join(unpackedAppPath(), 'output', 'build', os.platform(), filename + (isWindows ? '.exe' : ''));
}

0 comments on commit 3cb3fe3

Please sign in to comment.