Mr54233/dsh-restart-now ↗★ 0

dsh-restart-now

Restart DSH Desktop from the sidebar or Settings. After confirmation, closes and relaunches the app; only active in the desktop host. · DSH 桌面版一键重启:从侧栏或设置页发起,确认后关闭并重新拉起应用;仅在桌面宿主生效。 适合频繁调整配置或安装插件,需要快速重启桌面客户端的用户。

パッケージ
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

ドキュメント

README 全文を読む ↗

配置

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

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