fix: 发布 1.1.63,官方更新脚本改为纯 ASCII

去掉 wscript 里的中文注释,避免 official update script is not ASCII。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-08 00:30:37 +08:00
1 parent 39bc5208b0
commit e4c18d1e2c
5 files changed
+28 -16

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ if (!ok) {
if (copiedAsar && fso.FileExists(asar)) {
try { fso.DeleteFile(asar, true); log('rehid-asar'); } catch (hideErr) { log('rehid-asar ' + hideErr); }
}
// 并发解包 helper 可能已重建 resources\app;更新失败时仍要把打过补丁的目录搬回来。
// A concurrent unpack helper may have recreated resources\app. On failure, move the patched dir back.
if (movedApp && prev && fso.FolderExists(prev)) {
if (fso.FolderExists(appDir)) {
try { fso.DeleteFolder(appDir, true); log('cleared-recreated-app'); } catch (clearErr) { log('cleared-recreated-app ' + clearErr); }