Make Netbird executable path cross compatible #7

Merged
ishan-karmakar merged 1 commits from make-netbird-path-cross-compatible into main 2026-06-01 03:32:58 +00:00
+1 -1
View File
@@ -48,7 +48,7 @@ function resourcePath(name: string) {
} }
function netbirdClient() { function netbirdClient() {
return new NetBirdClient(resourcePath('netbird.exe')); return new NetBirdClient(resourcePath(process.platform === "win32" ? 'netbird.exe' : 'netbird'));
} }
function withAutoConnect(status: Record<string, any>) { function withAutoConnect(status: Record<string, any>) {