From c13e40f48913530f2f2f13d7cfe2f51263bc5d8d Mon Sep 17 00:00:00 2001 From: borjaperfra Date: Mon, 14 Sep 2026 18:08:30 +0200 Subject: [PATCH] fix: point both installers at v0.1.19, which works on a Mac v0.1.18 and v0.1.17 died on every Mac without a GITHUB_TOKEN: the version lookup expanded an empty array under `set -u`, which is an unbound variable in the bash 3.2 macOS ships. helmcode/nan-cli#22. Co-Authored-By: Claude Opus 5 (1M context) --- src/pages/install.ps1.ts | 2 +- src/pages/install.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/install.ps1.ts b/src/pages/install.ps1.ts index 465fc25..05a1e6b 100644 --- a/src/pages/install.ps1.ts +++ b/src/pages/install.ps1.ts @@ -53,7 +53,7 @@ export const prerender = false; * something piped into `iex`. */ const SCRIPT_URL = - 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.18/scripts/install.ps1'; + 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.19/scripts/install.ps1'; export const GET: APIRoute = async () => { let upstream: Response; diff --git a/src/pages/install.ts b/src/pages/install.ts index b7ec92a..124a07d 100644 --- a/src/pages/install.ts +++ b/src/pages/install.ts @@ -42,7 +42,7 @@ export const prerender = false; * it, which explains neither what happened nor what to do. */ const SCRIPT_URL = - 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.18/scripts/install.sh'; + 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.19/scripts/install.sh'; export const GET: APIRoute = async () => { let upstream: Response;