fix: 应用成功后自己重启一次

有新补丁或密封包还在时,点应用直接重启,不再弹出确认。没有新补丁就不重启。Windows、Linux、macOS 都退出再打开,斜杠不再干等。极简 bash 只删掉误留的镜像那一句。默认提示词继续用 default-prompt-inject.md 的加密槽,明文不进发布包。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-04 23:24:49 +08:00
1 parent e26d3251f0
commit 75637c48b9
5 files changed
+176 -37

No files matched your search

+15
View File
@@ -2302,6 +2302,21 @@ const PATCHES = [
],
markers: ["[dsh-purge] preset shell network"],
},
{
id: 73,
name: "PRESET_BASH_MIRROR_LINE",
layer: "提示词",
layer_en: "Prompt",
desc: "极简 bash 去掉误留的镜像说明 / drop the extra mirror sentence",
file: ["preset-minimal", "preset-sdk-minimal"],
optional: true,
replacements: [
{
pattern: /\n[ \t]*\* Network access depends on the task environment\. Prefer configured mirrors\/proxies when they are available\.\n/,
replace: "\n",
},
],
},
{
id: 71,
name: "LIANGSHEN_IDENTITY_LINE",