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
+1 -1
View File
@@ -189,7 +189,7 @@ call download/earphone/download.bat
#else
call download/earphone/download_app_ota.bat
#endif
#elif defined(CONFIG_HID_CASE_ENABLE) ||defined(CONFIG_SPP_AND_LE_CASE_ENABLE)||defined(CONFIG_MESH_CASE_ENABLE)||defined(CONFIG_DONGLE_CASE_ENABLE) //数传
#elif defined(CONFIG_HID_CASE_ENABLE) ||defined(CONFIG_SPP_AND_LE_CASE_ENABLE)||defined(CONFIG_MESH_CASE_ENABLE)||defined(CONFIG_DONGLE_CASE_ENABLE) // data-trans
call download/data_trans/download.bat
#else
//to do other case
@@ -15,8 +15,8 @@ copy ..\..\anc_gains.bin .
:: -format all -key RS-5B88.key
::-reboot 2500
@rem 删除临时文件-format all
if exist *.mp3 del *.mp3
@rem delete temp files
if exist *.mp3 del *.mp3
if exist *.PIX del *.PIX
if exist *.TAB del *.TAB
if exist *.res del *.res
@@ -26,10 +26,10 @@ if exist *.sty del *.sty
copy jl_isd.ufw update.ufw
del jl_isd.ufw
@REM 生成配置文件升级文件
@rem generate config ufw (disabled)
::ufw_maker.exe -chip AC800X %ADD_KEY% -output config.ufw -res bt_cfg.cfg
::IF EXIST jl_696x.bin del jl_696x.bin
::IF EXIST jl_696x.bin del jl_696x.bin
if exist script.ver del script.ver
if exist tone.cfg del tone.cfg
@@ -38,10 +38,10 @@ if exist br28loader.bin del br28loader.bin
if exist anc_coeff.bin del anc_coeff.bin
if exist anc_gains.bin del anc_gains.bin
@rem 常用命令说明
@rem -format vm //擦除VM 区域
@rem -format cfg //擦除BT CFG 区域
@rem -format 0x3f0-2 //表示从第 0x3f0 个 sector 开始连续擦除 2 个 sector(第一个参数为16进制或10进制都可,第二个参数必须是10进制)
@rem common isd_download flags
@rem -format vm
@rem -format cfg
@rem -format 0x3f0-2
ping /n 2 127.1>null
IF EXIST null del null
IF EXIST null del null