Merge pull request 'Make Netbird executable path cross compatible' (#7) from make-netbird-path-cross-compatible into main

Reviewed-on: https://git.internal.vyntehome.com/vynte/vynte-connect/pulls/7
This commit was merged in pull request #7.
This commit is contained in:
2026-05-31 22:32:58 -05:00
+1 -1
View File
@@ -48,7 +48,7 @@ function resourcePath(name: string) {
}
function netbirdClient() {
return new NetBirdClient(resourcePath('netbird.exe'));
return new NetBirdClient(resourcePath(process.platform === "win32" ? 'netbird.exe' : 'netbird'));
}
function withAutoConnect(status: Record<string, any>) {