Bundle
dsh-clean-desktop-shell-pro
Enhanced fork of dsh-clean-desktop-shell: auto-starts the local backend with --no-open, prompts before closing the backend on quit, and starts the backend in parallel with Electron for faster cold start. DSH 插件形态的桌面壳增强版:自动启动后端(不打开浏览器)、退出时询问是否关闭后端、后端与窗口并行启动加速冷启动。
- Source
- Aicksion
- stars
- 1 stars
- License
- MIT
- Updated
- Updated yesterday
Readme
# dsh-clean-desktop-shell-pro [English](README.en.md) | 中文 `dsh-clean-desktop-shell` 的增强版(fork):在原有「把 web profile 包装成原生桌面窗口」的基础上,补齐了桌面应用应有的后端生命周期管理。 ## 相比原版的增强 1. **启动自动启动后端** — 双击窗口后无需再手动点「启动后端」,本地 `dsh web` 后端会自动拉起。 2. **不打开浏览器** — 后端以 `--no-open` 启动,只弹出原生窗口,不再弹出浏览器网页。 3. **退出时询问是否关闭后端** — 托盘「退出」会弹出「关闭后端并退出 / 仅退出 / 取消」三选项。 4. **后端与窗口并行启动** — 后端在 Electron 初始化阶段就提前启动,冷启动更快。 ## 安装 ```sh dsh plugin --profile web add dsh-clean-desktop-shell-pro ``` 安装后重启 `dsh web`。它会复用现有的 web profile 与 Electron 运行时(`$DSH_HOME/desktop-shell-runtime`)。 > 若已安装原版 `dsh-clean-desktop-shell`,请先卸载以避免两个桌面外壳同时启动: > > ```sh > dsh plugin --profile web remove dsh-clean-desktop-shell > ``` ## 桌面快捷方式 首次启动后,可从托盘右键菜单「创建桌面快捷方式」生成桌面图标;或使用窗口首次运行时弹出的提示创建。 ## 许可与来源 本包是 [dsh-clean-desktop-shell](https://github.com/Icather/dsh-clean-desktop-shell)(MIT)的 fork,保留其 LICENSE 与贡献者名单。 ## 发布前待办(仅作者) 发布前请在 `electron/update.js` 中把 `YOUR_NAME` 替换为你的 GitHub 用户名,并建好对应仓库。
Install
dsh plugin --profile web add github:Aicksion/dsh-clean-desktop-shell-pro
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-clean-desktop-shell-pro from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.