mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 10:30:24 +08:00
fix: 应用成功后自己重启一次
有新补丁或密封包还在时,点应用直接重启,不再弹出确认。没有新补丁就不重启。Windows、Linux、macOS 都退出再打开,斜杠不再干等。极简 bash 只删掉误留的镜像那一句。默认提示词继续用 default-prompt-inject.md 的加密槽,明文不进发布包。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
e26d3251f0
commit
75637c48b9
5 files changed
+176
-37
No files matched your search
+15
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user