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 <noreply@anthropic.com>
This commit is contained in:
mtlcl410
2026-10-15 02:43:27 -04:00
committed by GitHub
co-authored by Claude Fable 5.1
parent 712ae9c36a
commit 2bcf233f22
+1 -1
View File
@@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Check the compiled MSI's install scope, publisher, shortcuts, native UI and OCR models, without installing it.
.EXAMPLE