How ivseznayfews/dsh-one-click-setup works
This is a Windows setup utility for DeepSeek Harness (DSH): users configure an API key and options, the app detects or installs prerequisites, writes DSH configuration, creates launch entries, and can test the API connection. The generated launcher then starts DSH and opens its web UI. The README documents these capabilities; the sampled C# excerpts are partial, so internal call wiring is shown only where documented, not as inferred helper-level calls.
Main entry points: Setup.cs Setup app · launch-dsh.ps1 Launcher script · launch.cmd Launcher command · Installer.cs Installer / uninstaller
Components 19
Setup workflow
- Setup app
src/Setup.cs - Environment detection
src/Setup.cs - Node installer
src/Setup.cs - DSH installer
src/Setup.cs - Config writer
src/Setup.cs - Launcher generator
src/Setup.cs - Desktop entries
src/Setup.cs - Connection test
src/Setup.cs
Launcher runtime
- Launcher command
assets/launch.cmd - Launcher script
assets/launch-dsh.ps1
App installation
- Installer / uninstaller
src/Installer.cs - Installed setup app
src/Setup.cs
Other components
- User
- DSH credentials
- DSH settings
- Node.js / npm
- DSH runtime
- DeepSeek API
- Web browser
Connections 24
- User → Setup app: configures
- Setup app → Environment detection: detects
- Setup app → Node installer: installs if needed
- Node installer → Node.js / npm: installs
- Setup app → DSH installer: installs if needed
- DSH installer → Node.js / npm: uses npm
- DSH installer → DSH runtime: installs
- Setup app → Config writer: writes settings
- Config writer → DSH credentials: backs up and writes
- Config writer → DSH settings: backs up and writes
- Setup app → Launcher generator: generates
- Launcher generator → Launcher command: creates
- Launcher generator → Launcher script: creates
- Setup app → Desktop entries: creates entries
- Setup app → Connection test: tests key
- Connection test → DeepSeek API: checks key and balance
- User → Launcher command: starts
- Launcher command → Launcher script: invokes
- Launcher script → Node.js / npm: locates or installs
- Launcher script → DSH runtime: locates or installs
- Launcher script → Web browser: opens when ready
- Launcher script → DSH runtime: starts web service
- User → Installer / uninstaller: installs or uninstalls
- Installer / uninstaller → Installed setup app: extracts and launches