Showing the last saved plugin snapshot.

← Leaderboard / Sessions / Plugin
Last repository activity November 11, 2026 · Created October 27, 2026

hongdougao111/dsh-power-switch

“Adds a power button to the session header with two actions, each requiring a second click to confirm.”

Star rank
#4461
declared plugin rank
In Sessions
#393
category rank
Stars
2
GitHub repository
Forks
0
GitHub repository
Watchers
0
GitHub subscribers
Open on GitHub ↗
TL;DR

Adds a power button to the session header with two actions, each requiring a second click to confirm. Restart terminates the Electron main process itself (taskkill /F without /T), so no crash dialog appears: the host then exits gracefully on its own once the IPC channel drops, and a detached helper relaunches the same executable after the single-instance lock is released, confirming the new instance by a real window handle. Shut down does the same without relaunching. Leftover GPU and renderer processes from the previous run are reaped best-effort. Windows desktop app.

30 days of GitHub stars
+0 stars
+0% observed change
Oct 14Oct 28Nov 12