dsh-plugin-restart-desktop:在 DSH Desktop 側邊欄添加有序重啓按鈕

`dsh-plugin-restart-desktop` 是一個行爲單一的 DSH Desktop 插件,旨在側邊欄底部注入「重啓Desktop」按鈕。點擊按鈕並經二次確認後,通過調用 `desktopActions.requestRestart()` 觸發桌面主進程的有序重啓,期間顯示等待層。該插件支持 DSH 語言系統,可在設置中即時切換中英文文案,但僅適用於 desktop profile;在 headless web profile 下調用會返回失敗提示。 安裝時需修改 desktop profile 的 `package.json`,將插件路徑加入 `dependencies` 和

閱讀全文