dsh-safe-restart:在 Windows 上重启 DSH 并明确告知结果
dsh-safe-restart 是 Daphne999 维护的 DSH 客户端插件,仅支持 Windows。它不承诺外部优雅退出,而是在延时强杀宿主后通过 WMI 外置 helper 重新拉起 exe、轮询 HTTP 端口自检,并将 restarted-verified、failed-to-come-up 等结果写入 %TEMP%\dsh-safe-restart.result.json。安装命令为 dsh plugin --profile desktop add dsh-safe-restart。强杀可能跳过会话写回,自检仅证明 HTTP 服务存活。
Read More