dsh-hide-update-badge

隐藏 DSH 桌面版自带的更新角标(账号按钮右边那颗「下载箭头 + 新版本」胶囊):当前构建用一条 CSS 规则压掉,再叠一层按无障碍标签识别 + 节流 MutationObserver 的兜底,宿主升级后仍大概率有效;更新检查、菜单里的「检查更新」和连接指示器都不受影响。

插件介绍

隐藏 DSH 桌面版自带的更新角标(账号按钮右边那颗「下载箭头 + 新版本」胶囊):当前构建用一条 CSS 规则压掉,再叠一层按无障碍标签识别 + 节流 MutationObserver 的兜底,宿主升级后仍大概率有效;更新检查、菜单里的「检查更新」和连接指示器都不受影响。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Da0Mine/dsh-hide-update-badge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。