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:
+1
-1
@@ -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>) {
|
||||
|
||||
Reference in New Issue
Block a user