zhkkjF/dsh-auto-update ↗★ 1

dsh-auto-update

Auto-update DSH Desktop: check the official update feed, verify and install the update, then reinstall profile plugins and restore their pre-update settings.

套件
dsh-auto-update
相容性
待驗證
Harness 依賴範圍
>=0.2.1-rc.1 <0.2.2-0 || >=0.2.2-rc.1 <0.3.0-0
版本
1.0.0
授權
MIT
最近更新
2026年11月7日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhkkjF/dsh-auto-update

配置(cordis.patch.yml)

字段默认说明
checkIntervalMinutes30自动检查间隔(分钟);0 关闭定时检查
autoInstalltrue发现新版本时自动下载并静默安装
autoInstallWhenIdletrue有运行中的任务时推迟安装
snapshotKeep5保留最近几份快照
restoreSettingstrue更新后恢复 storages 与插件数据目录
restorePolicyoverwriteoverwrite 覆盖为更新前设置;missing-only 只补缺失文件
dataDirs见上需要一并备份/恢复的 $DSH_HOME 插件数据目录

面板里的开关与间隔会写入 $DSH_HOME/dsh-auto-update/settings.json,优先于 patch 里的默认值。