# DSH 鲸鱼娘桌面启动器
中文 | [English](README.md)
这是一个适用于 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的 Windows 桌面启动器插件。插件会在桌面创建带鲸鱼娘图标的 `DeepSeek Harness.exe`;双击后,它会按需在后台启动 DSH Web,并使用 Microsoft Edge 或 Google Chrome 的应用模式打开页面,不显示标签栏、地址栏和普通浏览器工具栏。
## 功能
- 单击桌面程序即可启动或连接 `dsh web`,不显示终端黑窗。
- Chromium `--app` 模式提供简洁的桌面应用窗口。
- 插件内置透明 PNG 和多尺寸 Windows ICO。
- bundle 激活时记录当前 DSH 可执行文件、参数和工作目录,同时兼容 npm 安装版与源码版。
- 已经健康运行的 DSH 服务会直接复用;若端口被其他服务占用,则明确报错。
- 不覆盖桌面上内容不同的同名程序。
- 包安装时不执行 `preinstall`、`install`、`postinstall` 或 `prepare` 生命周期脚本。
## 环境要求
- Windows 10 或 Windows 11。
- 已配置 DeepSeek Harness `web` profile。
- Microsoft Edge 或 Google Chrome。
- DSH 所要求的 Node.js 22.19 或更高版本。
## 安装
将 bundle 安装到 Web profile:
```powershell
dsh plugin --profile web add github:HUITianYi/dsh-whale-desktop-launcher#v0.1.0
```
重启一次 `dsh web`。插件激活后会把便携配置写入 `~/.dsh/whale-desktop-launcher/`,并创建:
```text
桌面\DeepSeek Harness.exe
```
之后双击桌面程序即可一键启动。
## 可选鲸鱼娘皮肤
启动器可以搭配非商业许可的 [`Small-tailqwq/dsh-deep-whale`](https://github.com/Small-tailqwq/dsh-deep-whale) 皮肤:
```powershell
git clone https://github.com/Small-tailqwq/dsh-deep-whale "$HOME\.dsh\plugins\dsh-deep-whale"
dsh plugin --profile web add "$HOME\.dsh\plugins\dsh-deep-whale\maid-atelier"
```
该皮肤使用独立的 CC BY-NC-SA 4.0 许可证与署名要求。
## 卸载
移除 DSH bundle:
```powershell
dsh plugin --profile web remove dsh-whale-desktop-launcher
```
为了避免插件卸载时删除用户可见文件,以下内容不会自动清理,可按需手动删除:
```text
%USERPROFILE%\Desktop\DeepSeek Harness.exe
%USERPROFILE%\.dsh\whale-desktop-launcher\
```
## 开发
```powershell
npm run build:launcher
npm test
npm run pack:check
```
预构建 EXE 已提交在 `assets/`,因此从 GitHub 安装时不需要批准构建脚本。
## 许可证
- 源代码:[MIT](LICENSE)。
- 鲸鱼娘图像:[CC BY-NC-SA 4.0](ASSET_LICENSE.md),仅限非商业使用。
这是社区项目,并非 DeepSeek AI 官方产品。