From bd2e0b0857375fa635f291984dfb3660fc050c23 Mon Sep 17 00:00:00 2001 From: Ishan Karmakar Date: Sun, 31 May 2026 22:32:40 -0500 Subject: [PATCH] fix: Make netbird executable path cross compatible --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a2fbb50..55aac89 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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) { -- 2.54.0