Repository navigation
Releases
Releases · QHY2333/dsh-restart
v1.0.2
The restart helper no longer opens or flashes a console window.
- The WMI-created helper is now created with
SW_HIDE(Win32_ProcessStartup.ShowWindow = 0), so its PowerShell console never appears. - The launcher that talks to WMI stays hidden, as before.
- No other behavior change; the action is still in the bottom-left account menu, above Sign out.
Install from source:
git+https://github.com/QHY2333/dsh-restart.git
v1.0.1
Fixes the restart that could leave the app closed, and moves the action into the account menu.
- Fix: the relaunched Electron app inherited
ELECTRON_RUN_AS_NODE=1from the Host and exited immediately. The helper now clears it before starting the app. - Fix: the helper was created inside Electron's job object and was killed with the app. It is now created through Windows WMI, outside the job, in the user's session.
- Fix: the dialog now shows an error after 20 seconds instead of staying on "Restarting…" forever.
- Change: the action is now inside the bottom-left account menu, directly above Sign out / Sign in, instead of the sidebar footer. The shipped account menu has no extension slot, so the Client half inserts a native-looking row when the menu opens.
- Diagnostics:
%TEMP%\dsh-restart-host.log,dsh-restart-launcher.log, anddsh-restart-helper.logrecord each restart stage.
Install from source:
git+https://github.com/QHY2333/dsh-restart.git
v1.0.0
One-click Restart DSH button in the sidebar footer.
- Adds a Restart DSH action to the sidebar.footer.action slot, at the bottom-left of the sidebar.
- Asks for confirmation, then quits the desktop app and relaunches it, so newly installed or updated plugins load without quitting by hand.
- Same-origin restart endpoint (POST /_dsh_restart) with a custom request header; the executable is always the running app's process.execPath.
- No build step. Works with DSH