dsh-restart-button

在 Windows 标题栏上加一枚红色重启按钮。点一下结束正在跑的应用进程,等本地端口和单实例锁松开,再拉起同一个可执行文件,最多重试三次。同一个动作也做成了 /dsh-restart 命令。只在桌面端出现,浏览器里打开 dsh web 时不渲染。

插件介绍

在 Windows 标题栏上加一枚红色重启按钮。点一下结束正在跑的应用进程,等本地端口和单实例锁松开,再拉起同一个可执行文件,最多重试三次。同一个动作也做成了 /dsh-restart 命令。只在桌面端出现,浏览器里打开 dsh web 时不渲染。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Yamashigure/dsh-restart-button

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。