Showing the last saved plugin snapshot.
← Leaderboard / Sessions / Plugin
hongdougao111/dsh-power-switch
“Adds a power button to the session header with two actions, each requiring a second click to confirm.”
Star rank
#4461declared plugin rank
In Sessions
#393category rank
Stars
2GitHub repository
Forks
0GitHub repository
Watchers
0GitHub subscribers
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
