fix: 发布 1.1.51,修 skills 自导入删空、EnvAdapt op、同版本更新劫持与补丁锚点

Co-authored-by: Cursor <cursoragent@cursor.com>

#54 拒绝 skills 源与目标重叠;#55 补 platformEnvAdaptStatus/Skip;#56 无版本 installer 不再劫持重启并恢复 app;#52/#57 锚点跟上 0.1.7/0.2,导出 patches_ready。
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-03 01:01:31 +08:00
1 parent 8f01cd8444
commit a18fefa2a9
12 files changed
+147 -34

No files matched your search

+5 -3
View File
@@ -196,6 +196,7 @@ window.__ModuleLoader__.load({ id: "dsh-purge", factory: (require) => {
"metric.purged.skip": "已就绪,其中 {n} 项本机不需要",
"metric.unlocated.count": "—",
"metric.shim": "shim",
"metric.shim.na": "本端不需要",
"metric.bak.yes": "有备份",
"metric.bak.no": "无备份",
"metric.bak.hint": "备份",
@@ -488,6 +489,7 @@ window.__ModuleLoader__.load({ id: "dsh-purge", factory: (require) => {
"metric.purged.skip": "Ready, {n} not needed here",
"metric.unlocated.count": "—",
"metric.shim": "shim",
"metric.shim.na": "Not needed here",
"metric.bak.yes": "Backup",
"metric.bak.no": "No backup",
"metric.bak.hint": "Backup",
@@ -1017,9 +1019,9 @@ body .dshp-dock[data-theme="white"] .dshp-dock-body .rt-card,body .dshp-dock[dat
}
function shimKind(v) {
if (v === "patched") return "ok";
if (v === "patched" || v === "n/a") return "ok";
if (v === "original") return "wait";
if (v === "missing" || v === "n/a" || !v) return "miss";
if (v === "missing" || !v) return "miss";
return "bad";
}
@@ -1715,7 +1717,7 @@ body .dshp-dock[data-theme="white"] .dshp-dock-body .rt-card,body .dshp-dock[dat
" ",
h("span", { className: "dshp-pill is-" + shimKind(s.shim_bin || "missing") }, "unix"),
),
h("span", null, t("metric.shim")),
h("span", null, (s.shim_cmd === "n/a" && s.shim_ps1 === "n/a" && (s.shim_bin === "n/a" || !s.shim_bin)) ? t("metric.shim.na") : t("metric.shim")),
),
h("div", { className: "dshp-metric" },
h("b", null, s.has_backup ? t("metric.bak.yes") : t("metric.bak.no")),