fix: 发布 1.1.40,适配 DSH 0.2.0 并应用后自动重启

Anthropic OAuth 去掉 Claude Code 首段;移除 0.2 无效的 patch 41;应用成功后自动重启宿主。
This commit is contained in:
叫我小杨同学 committed 2026-09-30 01:07:24 +08:00
1 parent be2189d290
commit 3bc63beca4
7 files changed
+97 -67

No files matched your search

+3 -1
View File
@@ -1248,10 +1248,12 @@ function installWebServer(ctx, cfg) {
const leaveTray = renamed || pendingQuit;
if (complete) reapply.markPatchesApplied();
if (leaveTray) bootFullQuit = true;
const shouldRestart = complete;
sendJson(response, 200, {
ok: true,
complete,
restarting: false,
restarting: shouldRestart,
restart_after_apply: shouldRestart,
unpacked_asar: leaveTray,
needs_full_quit: leaveTray,
applied: summary.applied,