ahikl/dsh-desktop1

@ahikl/dsh-desktop

DSH 桌面端套件:基于 Electron 的 DSH Web UI 外壳,配备系统托盘和 DSH 风格的自定义标题栏。

AI 分析

将 DSH 网页版打包为本地桌面应用,提供系统托盘和自定义标题栏。适合偏好独立客户端体验、需要便捷启动和后台挂载 DSH 的桌面端用户。

套件
@ahikl/dsh-desktop
版本
0.3.2
授權
MIT
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ahikl/dsh-desktop

使用

0.3.1 及以下版本已废弃,请使用最新版。

dsh plugin --profile desktop add @ahikl/dsh-desktop electron
dsh --profile desktop desktop

dsh --profile desktop desktop --url http://127.0.0.1:3080

最简单的启动方式(没有安装 dsh-web-app 时,桌面插件会自动启动官方 Web UI):

dsh plugin --profile desktop add @ahikl/dsh-desktop electron
dsh --profile desktop desktop

如果已经安装了 dsh-web-app,桌面插件会自动复用其 Web Server:

dsh plugin --profile desktop add @ahikl/dsh-desktop @deepseek-ai/dsh-web-app electron
dsh --profile desktop desktop

配置

- id: desktop-runner
  config:
    url: https://example.com
    electronPath: /opt/electron/electron
    width: 1280
    height: 800
    electronArgs: ["--no-sandbox", "--disable-gpu"]