dsh-restart

Adds a Restart button to the DSH Desktop sidebar. It opens the same native confirmation dialog as the tray Exit item and, once approved, shuts the app down gracefully and relaunches it. This plugin only draws the button: it also needs the companion shell patch shipped in shell-patch/ in the same repository, which has to be applied from outside DSH while the app is closed. Installed on its own, the button stays disabled and a tooltip explains why. The companion shell patch is Windows only and rewrites the installed app.asar.

Overview

Adds a Restart button to the DSH Desktop sidebar. It opens the same native confirmation dialog as the tray Exit item and, once approved, shuts the app down gracefully and relaunches it. This plugin only draws the button: it also needs the companion shell patch shipped in shell-patch/ in the same repository, which has to be applied from outside DSH while the app is closed. Installed on its own, the button stays disabled and a tooltip explains why. The companion shell patch is Windows only and rewrites the installed app.asar.

Installation

Install from GitHub

dsh plugin --profile web add github:JiuRiWu/dsh-restart

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.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands