wodongx123/dsh-desktop-tray
wodongx123★ 0JavaScript最后同步: 2026-08-17
System tray support for DSH Desktop: tray icon plus settings to hide the main window on minimize or close, with self-healing boot-time injection.
README 摘要
dsh-desktop-tray 为 DSH Desktop 提供 系统托盘 支持:常驻托盘图标 + 设置里开关"最小化到托盘 / 关闭时隐藏到托盘",并能在应用自动更新后 自愈恢复 。 System tray support for DSH Desktop: a tray icon plus settings to hide the main window to the tray on minimize or close, with self-healing after application updates. ⚠️ 重要警示 / WARNING 本插件会修改 DSH Desktop 的主程序文件,属于破坏性修改(不是纯只读插件)。 安装后,插件会把托盘代码 注入 到以下文件(注入前会各备份一份 .dsh-tray.bak ): - resources/app/out/main/index.js - resources/app/out/preload/index.cjs - resources/app/package.json ( main 改为指向注入启动器) - 并在 resources/app/out/main/ 新增 tray-boot.js 如果 DSH Desktop 无法启动(例如重装/更新过程中出现异常) ,按以下顺序处理: 1. 还原备份 :用 out/main/index.js.dsh-tray.bak / out/preload/index.cjs.dsh-tray.bak 覆盖还原对应文件; 2. 恢复入口 :把 resources/app/package.json 的 "main" 改回 "./out/main/index.js" ; 3. 删除启动器 :删除 resources/app/out/main/tray-boot.js ; 4. 移除触发条目 :编辑 %APPDATA%\dsh-desktop\harness\profiles\web\cordis.patch.yml ,删除其中 dsh-desktop-tray 的 - insert: 条目(若 Harness 报 duplicate loader entry id: dsh-desktop-tray ,同时检查 resources/dsh-desktop.patch.yml 是否残留同名条目,一并删除); 5. 仍然无法启动 :重新安装 DSH Desktop(卸载后重装,或覆盖安装最新版)。 如果重装后只想保留插件而 Harness 启动失败,第 4 步通常就能解决——插件本体在 AppData,重装不会清除,只需保证加载条目 只有一份 。 功能 / Features - 最小化到托盘 / Minimize to tray — 点击最小化按钮时隐藏到托盘,而不是任…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 183,476
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,499
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 18,022