Repository navigation
Releases: GangLongYu/dsh-kun-like-pet
Releases · GangLongYu/dsh-kun-like-pet
Release list
v2.2.0 · 桌面客户端安装路径
2.2.0 — 桌面客户端安装路径
- 桌面版与 Web 版是两个独立 profile:桌面客户端读
~/.dsh/profiles/desktop,npx dsh web读~/.dsh/profiles/web。插件代码不需要为桌面版改任何东西——桌面版加载的就是同一套dsh-web-app,渲染器平台同样是web,因此dsh.client.platform: "web"是正确声明;差别只在装到哪个 profile。 - 新增
npm run status(scripts/desktop-status.mjs):只读检查每个 profile 的依赖声明、实际安装版本与dsh.profile.bundles启用状态,用来定位「装到另一个 profile 了」(症状:/kun-pet/state404、右下角没有桌宠)。 - 新增
.gitattributes统一 LF:Windows 上core.autocrlf=true会让每次npm run build都改写plugin/lib/*.map,CI 的git diff --exit-code -- plugin/lib因此误报。 - 打包元数据:补
homepage/bugs/publishConfig.access/prepublishOnly;files收窄为只带 README 引用的两张截图,npm 打包体积 5.8 MB → 2.8 MB。 - README 新增「方式 D:装到桌面版客户端」与「发布到 npm」(npm 上的
dsh-kun-like-pet已被其他发布者占用,改名需同步三处)。
安装
Web 版:
npx @deepseek-ai/dsh plugin --profile web add github:GangLongYu/dsh-kun-like-pet桌面版客户端(装完从托盘完全退出再启动):
npx @deepseek-ai/dsh plugin --profile desktop add github:GangLongYu/dsh-kun-like-pet附件
dsh-kun-like-pet-2.2.0.tgz 是 npm pack 产物,可离线安装:
npx @deepseek-ai/dsh plugin --profile desktop add ./dsh-kun-like-pet-2.2.0.tgz