mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 07:50:22 +08:00
fix: 发布 1.1.40,适配 DSH 0.2.0 并应用后自动重启
Anthropic OAuth 去掉 Claude Code 首段;移除 0.2 无效的 patch 41;应用成功后自动重启宿主。
This commit is contained in:
1 parent
be2189d290
commit
3bc63beca4
7 files changed
+97
-67
No files matched your search
+3
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user