Releases
v1.7.2
v1.7.2 — 安装反馈批次 2 / Install-feedback batch 2
Latest
Compare
Sorry, something went wrong.
No results found
v1.7.2 — 安装反馈批次 2 / Install-feedback batch 2
修复 / Fix
桌面端目标 profile 兜底(关键) :DSH 文档写明 DSH_PROFILE / DSH_PROFILE_DIR 只注入「该 profile 发起的 shell 调用」,插件进程自己的 env 未必有;profileContext 也未必暴露目录。此前只读 env,解析结果落到默认值 web,bundle 注册去写一个根本不存在的 profile 目录,表现为 ENOENT: profiles/web/package.json.tmp(安装反馈 #284 /#285 /#290 /#292 /#293 /#300 /#302 /#305 /#318 )。同一根因还会让内置安装器被判定不可用而回退自带 pnpm 路径,派生「子依赖未能解析」「pnpm 安装后仍未解析到包」两类失败(#298 /#304 /#322 /#326 等)。现在:Electron 进程内、来源为默认值、且磁盘上只有一个 已初始化 profile 时跟随它(多个不猜),并记一行日志
profile 目录不存在时给可操作错误 :bundle 注册写清单遇到 ENOENT 不再原样透出 package.json.tmp 路径,改为「目标 profile 目录不存在:」并按桌面端 / Web-CLI 分别给出正确做法
工程 / Engineering
scripts/tests/unit/desktop-adaptation.test.mjs +5 例:唯一 profile 采用 / 两个不猜 / 零个返回 null / 非法名过滤 / 非数组不崩
scripts/tests/unit/infra-bundle-register.test.mjs +1 例:ENOENT → 可操作提示(且不写 bundleRecorded)
门禁:unit 层 73/73 文件通过、toc.mjs --check 通过、security-guards 94/94
更新方式 / How to update
桌面端:应用内检查更新并重启;或侧栏「插件 → 添加插件」粘贴本仓库地址重装
Web / CLI:dsh plugin --profile web install bradeGithub/DSH-Plugins-Marketplace,重启 dsh web
仍在使用 1.6.0 的实例内置旧签名信任根,需先手动更新一次(详见 v1.7.0 说明)
You can’t perform that action at this time.