From 16c488a157a83451daaaa8f8a5aa1a071bb2589f Mon Sep 17 00:00:00 2001 From: borjaperfra Date: Mon, 14 Sep 2026 13:34:14 +0200 Subject: [PATCH] fix: point both installers at v0.1.10 v0.1.9 and everything before it left `$ErrorActionPreference = 'Stop'` in the shell that ran them, because `iex` executes in the caller's session. That turns every later non-terminating error there into a terminating one - including inside the prompt function a terminal installs to track its blocks - so the session ended on a bare `PS>` with a keyboard that went nowhere. Both preferences are function-scoped now. helmcode/nan-cli#11. 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 e98b6ef..5d33d62 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.9/scripts/install.ps1'; + 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.10/scripts/install.ps1'; export const GET: APIRoute = async () => { let upstream: Response; diff --git a/src/pages/install.ts b/src/pages/install.ts index ffb0313..47a3f03 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.9/scripts/install.sh'; + 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.10/scripts/install.sh'; export const GET: APIRoute = async () => { let upstream: Response;