mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 09:10:22 +08:00
fix: 发布 1.1.58,打开即挂上默认提示词
重启或重新打开后不用再点保存。磁盘正文优先,其次规则集,再没有就用内置默认。应用成功仍先询问是否重启。前端模块只在页面发出前改写,避免输入框消失。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
71defcc3da
commit
c032942e5f
8 files changed
+158
-37
No files matched your search
@@ -1527,16 +1527,13 @@ body:not([data-ds-dark-theme]) .dshp-auth-ops button.primary{background:var(--ds
|
||||
text: tr("restart.incomplete", { detail: parts.join(";") }),
|
||||
});
|
||||
loadAll();
|
||||
return;
|
||||
}
|
||||
if (action === "apply" && (d.restarting || d.restart_after_apply)) {
|
||||
loadAll();
|
||||
restartDsh(setNotice, function () {}, tr, hostSurfaceOf(state));
|
||||
setAskRestart(true);
|
||||
return;
|
||||
}
|
||||
if (action === "apply") {
|
||||
setNotice({ kind: "ok", text: tr("ok.done") });
|
||||
loadAll();
|
||||
setAskRestart(true);
|
||||
return;
|
||||
}
|
||||
setNotice({ kind: "ok", text: tr("ok.done") });
|
||||
|
||||
Reference in new issue
Block a user