Mr54233/dsh-restart-now ↗★ 0

dsh-restart-now

从侧栏或设置页一键确认并重启桌面端应用 适合频繁调整配置或安装插件,需要快速重启桌面客户端的用户。

包名
dsh-restart-now
兼容性
待验证
Cordis 依赖范围
^4.0.1
版本
1.0.3
最近更新
2026年10月10日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Mr54233/dsh-restart-now

配置

设置页「重启应用」区块可直接编辑并保存(落 restart-now.config.json); 也可在 profile 的 cordis.patch.yml 条目 config 块中设置。 优先级:代码默认 < patch 条目 < 配置文件(UI 保存写入文件层)。

键默认说明
allowRestarttrue总开关,false 时动作口返回 403 disabled
confirmtrue点击后二次确认
hideSidebarButtonfalse隐藏侧栏底部重启入口(保存后立即生效)
delayMs50应答后到杀树的延时(毫秒,0–60000)
exePath''exe 绝对路径;留空时从当前安装位置自动推导