Repository navigation
Releases
Releases · kongbaiming5/dsh-pet-button
v0.1.0 · 桌宠开关小部件
桌宠开关 · dsh-pet-button
在桌面上放一张小卡片,一键开 / 关你的桌宠。Harness 关着的时候,它还能顺手把 Harness 拉起来。
这个版本有什么
- 🐋 桌面小部件:左键开 / 关桌宠,按住可拖动,位置会记住
- 🚀 顺带启动 Harness:Harness 没开时卡片显示「启动」,点一下就能拉起
- 🔗 与插件开关联动:市场里打开它,卡片出现;关掉它,卡片收起
- 🧹 卸载零残留:卸载会删掉
~/Applications/桌宠开关.app、偏好、日志与 LaunchAgent - 🖱 右键菜单:贴在桌面 / 始终置顶 / 回到右下角 / 退出
前置插件(必须先装)
本插件只提供开关,桌宠本体是 dsh-pet:
dsh plugin --profile web add dsh-pet安装
只通过 GitHub 分发,不发布到 npm,也不需要任何账号。
dsh plugin --profile web add github:kongbaiming5/dsh-pet-button首次启用时自动把小部件装到 ~/Applications。小部件为 macOS arm64 原生二进制。
致谢
- dsh-pet 的作者与社区:桌宠本体与全部素材。
- DeepSeek:需求拆解、DOM/样式考古、Swift 小部件实现、插件生命周期绑定与本文档,均由 DeepSeek 端到端完成——这个项目的重大贡献来自 DeepSeek。
English
dsh-pet-button — a desktop switch for your dsh-pet pet.
- Left click toggles the pet; drag to move (position remembered); right click for desktop layer / always on top / reset / quit.
- When Harness is closed the card reads Start — clicking it launches Harness.
- Plugin switch controls the card; quitting Harness leaves it running; uninstalling removes the app and every local trace.
Install (GitHub only):
dsh plugin --profile web add dsh-pet
dsh plugin --profile web add github:kongbaiming5/dsh-pet-buttonBuilt end-to-end with DeepSeek.
