From 410ab39896b55ae0084c2b3921e25665356169b6 Mon Sep 17 00:00:00 2001 From: Jarrad Whitaker <113399675+jwhitaker-swiftnav@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:44:00 +1000 Subject: [PATCH 1/2] fix arch detection on non-x64 --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index af18f325..f49f689d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -93,7 +93,7 @@ async function run() { break; default: osMatch.push(os.arch()) - return; + break; } } else { osMatch.push(osArch) From 959cb96021c5531b9c36d483b9c76017aa510f4a Mon Sep 17 00:00:00 2001 From: Jarrad Whitaker <113399675+jwhitaker-swiftnav@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:44:38 +1000 Subject: [PATCH 2/2] npm run build --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index b7fb67df..d8325d88 100644 --- a/lib/main.js +++ b/lib/main.js @@ -100,7 +100,7 @@ function run() { break; default: osMatch.push(os.arch()); - return; + break; } } else {