dsh-desktop-quick-actions:DSH 桌面側欄底部的重啓與充值快捷按鈕

dsh-desktop-quick-actions 是 penghao73551 維護的 DSH desktop 客戶端插件(1.1.0,MIT),在側邊欄底部提供 Restart 與 Top up 兩個圓按鈕。Restart 在 Windows 上通過 WMI 與 wscript 啓動鏈避免控制台與 Windows Terminal 窗口,並從請求 Host 傳遞動態端口;Top up 用 HTTPS 在系統瀏覽器打開充值頁。安裝:dsh plugin --profile desktop add dsh-desktop-quick-actions,需手動重啓桌面一次後生效。兼容 DSH desktop 0.2.1-rc 系列及 webServer,Node 20+。

閱讀全文