From 46bcfc3041f52d1158eb53c94887d3441121a00a Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Sat, 1 Aug 2026 00:41:07 +0200 Subject: [PATCH] fix(scripts/windows): the installer-run scripts go back to pure ASCII CI's guard fired on build-web.ps1: an em-dash in the header comment. The rule exists because PowerShell 5.1 mis-parses non-UTF-8-locale files, and the check covers every script the installer can run, comments included. Co-Authored-By: Claude Fable 5 --- scripts/windows/build-web.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/windows/build-web.ps1 b/scripts/windows/build-web.ps1 index 870dff0c..8aec076f 100644 --- a/scripts/windows/build-web.ps1 +++ b/scripts/windows/build-web.ps1 @@ -7,7 +7,7 @@ into the self-contained .output (no node_modules, nothing for bun to fail to resolve). The console runs as a supervised child of the PunktfunkHost service (bun {app}\web\.output\server\ index.mjs on :47992), so the swap is: stop the service (its kill-on-close job takes the console's - bun down and unlocks the files), replace {app}\web\.output, start the service — the supervisor + bun down and unlocks the files), replace {app}\web\.output, start the service - the supervisor brings the console back by itself. Needs an elevated shell (service control + Program Files). #> $ErrorActionPreference = 'Stop'