JustGenius-s
DSH-Desktop
DSH-Desktop
- Stars
- 16
- Language
- TypeScript
- Created
- Aug 13, 2026
- Updated
- Aug 14, 2026
Introduction
English | 简体中文
DSH-Desktop
Electron desktop shell for DeepSeek Harness (DSH). Bundles node + pnpm, installs @deepseek-ai/dsh into ~/.dsh/runtime, and serves the dsh web UI in a browser window.
Download & Install
Prebuilt packages are published on GitHub Releases. First launch installs the DSH runtime (~1-2 min).
macOS
- Download
DSH-Desktop-*.dmgfrom the latest release. - Open the
.dmgand dragDSH-Desktop.appinto/Applications. - The app is unsigned, so Gatekeeper blocks the first launch. Right-click the app → Open and confirm, or run:
xattr -dr com.apple.quarantine /Applications/DSH-Desktop.app
Windows
- Download
DSH-Desktop Setup *.exe(installer) orDSH-Desktop-*-win.zip(portable) from the latest release. - Run the installer, or unzip the archive and launch
DSH-Desktop.exe. - The build is unsigned, so SmartScreen may warn. Click More info → Run anyway.
How it works
Electron main process
├─ bundled node + pnpm (resources/runtime; repo-root runtime/ in dev)
├─ first launch: pnpm installs @deepseek-ai/dsh → ~/.dsh/runtime (upgradeable)
├─ spawn dsh web --host 127.0.0.1 --port <free-port>
└─ BrowserWindow → http://127.0.0.1:<port>
DSH is installed from npm at runtime, not shipped with the app. Upgrading DSH = detect a newer version on launch → click "Update" → restart. No rebuild or re-signing.
Develop
pnpm install
pnpm collect # download node + pnpm into runtime/
pnpm start # first launch installs @deepseek-ai/dsh (~1-2 min)
Dev and packaged behave identically: both use the bundled node and the external ~/.dsh/runtime.
Package
pnpm dist:mac # macOS dmg + zip
pnpm dist:win # Windows nsis + zip (run on Windows)
macOS artifacts are unsigned; Gatekeeper blocks first launch. Allow with:
xattr -dr com.apple.quarantine /Applications/DSH-Desktop.app
Runtime dependencies
- node (latest) + pnpm (latest), bundled via
scripts/collect-runtime.mjs @deepseek-ai/dsh(npm latest), installed to~/.dsh/runtime
Assets
| File | Purpose |
|---|---|
build/icon-app.png | macOS app icon: deep-blue gradient (#4a8ac4 → #2d5f9e → #1a3870, splash-page palette) + white whale, rounded corners |
build/icon.icns | Multi-size mac iconset (16-1024, Retina @2x) built from icon-app.png via iconutil |
build/icon.png | In-app icon without background — BrowserWindow (src/main.ts), splash page, README |
build/icon.ico | Windows app icon (same deep-blue design, multi-size 16–256) |