mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 10:20:22 +08:00
fix: 发布 1.1.52,禁自动官方更新交接与插件自更新,密封态自愈,重封默认提示词
Co-authored-by: Cursor <cursoragent@cursor.com> #57 应用/重启不再跑官方 installer;applied 戳在 sealed/丢根时触发 reapply;启动永不自动更新插件;默认提示词重新加密写入 asset-table。
This commit is contained in:
1 parent
11daeabb7c
commit
33e06259b4
11 files changed
+308
-308
No files matched your search
+4
-3
@@ -150,9 +150,9 @@ function renderStatus(state) {
|
||||
out.push(line("注入文件 / inject", state.override_path));
|
||||
out.push(line("注入状态 / override", state.override_status));
|
||||
out.push("");
|
||||
out.push(`补丁 / patches: ${state.patches_applied}/${state.patches_total || core.ALL_PATCHES.length} applied, ${state.patches_pending} pending`);
|
||||
out.push(`补丁 / patches: ${state.patches_applied}/${state.patches_total || 0} applied, ${state.patches_pending} pending`);
|
||||
for (const p of core.ALL_PATCHES) {
|
||||
const s = state.patch_status[p.id];
|
||||
const s = state.patch_status[p.id] || "n/a";
|
||||
const mark = s === "applied" ? "✓" : s === "pending" ? "✗" : "·";
|
||||
out.push(` ${mark} [#${String(p.id).padEnd(2)}] ${p.name.padEnd(30)} ${p.layer}/${p.layer_en} — ${s}`);
|
||||
}
|
||||
@@ -1134,7 +1134,8 @@ function installWebServer(ctx, cfg) {
|
||||
patches_skipped: state.patches_skipped || 0,
|
||||
patches_ready: state.patches_ready || 0,
|
||||
patches_na: state.patches_na || 0,
|
||||
patches_total: state.patches_total || core.ALL_PATCHES.length,
|
||||
patches_total: state.ai_base ? (state.patches_total || 0) : 0,
|
||||
patches_lost: reapply.patchesLostAfterHostReset(),
|
||||
patch_status: state.patch_status,
|
||||
patch_names,
|
||||
shim_cmd: state.shim_cmd,
|
||||
|
||||
Reference in new issue
Block a user