fix: 下载脚本改为纯 ASCII,避免 cmd 按 GBK 拆行

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 17:02:21 +08:00
co-authored by Cursor
parent 8364d8c414
commit ecb391b1e6
3 changed files with 26 additions and 10 deletions
+16
View File
@@ -0,0 +1,16 @@
# Windows cmd.exe 按系统 ANSI(中文 Windows 为 GBK)解析 .bat
# 因此:换行必须是 CRLF;.bat 正文保持纯 ASCII,不要写中文
*.bat text eol=crlf
*.cmd text eol=crlf
# 厂商二进制 / 库:禁止当文本做换行转换
*.exe binary
*.dll binary
*.a binary
*.bin binary
*.boot binary
*.key binary
*.ufw binary
*.fw binary
*.wts binary
*.uart binary