Private
Public Access
1
0

fix: 恢复 UTF-8 BOM 修复中文 Windows 下 PowerShell 5.x 解析错误

PowerShell 5.x 无 BOM 时使用系统默认编码(GBK)解析 .ps1 文件,
导致 UTF-8 中文字符被错误解析、行被合并,触发 MissingCatchOrFinally 错误。
恢复之前被误删的 UTF-8 BOM (EF BB BF) 以确保正确编码识别。
This commit is contained in:
2026-03-20 22:56:08 +08:00
parent 8032830906
commit 783d1fe8d8
5 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# XCodeCLI Setup Launcher (Windows)
# XCodeCLI Setup Launcher (Windows)
# 一站式安装和配置 Claude Code, Gemini CLI, Codex
param(