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.
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhkkjF/dsh-auto-update说明文档
阅读完整 README ↗配置(cordis.patch.yml)
| 字段 | 默认 | 说明 |
|---|---|---|
checkIntervalMinutes | 30 | 自动检查间隔(分钟);0 关闭定时检查 |
autoInstall | true | 发现新版本时自动下载并静默安装 |
autoInstallWhenIdle | true | 有运行中的任务时推迟安装 |
snapshotKeep | 5 | 保留最近几份快照 |
restoreSettings | true | 更新后恢复 storages 与插件数据目录 |
restorePolicy | overwrite | overwrite 覆盖为更新前设置;missing-only 只补缺失文件 |
dataDirs | 见上 | 需要一并备份/恢复的 $DSH_HOME 插件数据目录 |
面板里的开关与间隔会写入 $DSH_HOME/dsh-auto-update/settings.json,优先于 patch 里的默认值。