fix: Make netbird executable path cross compatible

This commit is contained in:
2026-05-31 22:32:40 -05:00
parent f2376b6ef1
commit bd2e0b0857
+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>) {