From 2bcf233f226347b2e85b208d10c22e47ad41a87d Mon Sep 17 00:00:00 2001 From: mtlcl410 Date: Thu, 15 Oct 2026 14:43:27 +0800 Subject: [PATCH] chore(packaging): give test-msi.ps1 a UTF-8 BOM so Windows PowerShell 5.1 parses it (#2092) Without the mark, 5.1 reads the file in the system code page and the ellipsis on line 136 decodes into something that swallows a quote, so the script does not parse (MissingEndCurlyBrace at line 133) and package.ps1, which runs it with the shell it was started from, fails after building the MSI. pwsh reads UTF-8 either way. Claude-Session: https://claude.ai/code/session_01RUNQSPVXx3dDBabRZHAnjz Co-authored-by: Claude Fable 5.1 --- packaging/windows/test-msi.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/windows/test-msi.ps1 b/packaging/windows/test-msi.ps1 index 37ab1d7ce..45e1147fa 100644 --- a/packaging/windows/test-msi.ps1 +++ b/packaging/windows/test-msi.ps1 @@ -1,4 +1,4 @@ -<# +<# .SYNOPSIS Check the compiled MSI's install scope, publisher, shortcuts, native UI and OCR models, without installing it. .EXAMPLE