From a273d80cf3b3f054577ddbfe36057904a56dbe2c Mon Sep 17 00:00:00 2001 From: zheng <18760530726@163.com> Date: Mon, 17 Aug 2026 23:20:47 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=A3=80=E6=9F=A5=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=BA=AF=20ASCII?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Windows PowerShell 5.1 在文件没有 BOM 时按 ANSI 读取。注释里的 em-dash 不影响执行,但这个仓库对 .bat 已经有纯 ASCII 约束,.ps1 没理由例外。 --- portable/advanced/Check-PowerShell.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable/advanced/Check-PowerShell.ps1 b/portable/advanced/Check-PowerShell.ps1 index e4ed7e9..a715c2b 100644 --- a/portable/advanced/Check-PowerShell.ps1 +++ b/portable/advanced/Check-PowerShell.ps1 @@ -1,7 +1,7 @@ # Parses every .ps1 in the repository and reports syntax errors. # # Why this exists: most of this project's PowerShell was written on a Mac, where -# no parser is available. "It looks right" is not a check — a single stray +# no parser is available. "It looks right" is not a check -- a single stray # character stops the Windows installer from running at all, and there is no way # to find that out except on Windows. #