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:
@@ -1,4 +1,4 @@
|
||||
# Gemini CLI Configuration Script for XCodeCLI (Windows)
|
||||
# Gemini CLI Configuration Script for XCodeCLI (Windows)
|
||||
# This script configures Gemini CLI to use your XCodeCLI instance
|
||||
# Automatically tests multiple API endpoints and selects the working one
|
||||
# Run with: powershell -ExecutionPolicy Bypass -File setup-gemini.ps1 -ApiKey YOUR_KEY
|
||||
|
||||
Reference in New Issue
Block a user