dsh-app-updater
Manifest validSidebar button that checks for DSH updates on startup, shows red dot for new versions, supports ignoring specific versions, and displays changelog preview with live download progress and GitHub mirror
dsh-app-updater
A DSH web plugin: a sidebar button (icon only) that checks whether DSH has a newer release and, when one exists, auto-downloads the installer and opens it - with a live progress bar and a minimizable panel.
Features
- Sidebar icon-only button (tooltip "Check DSH update"), red dot when new version found.
- Probes known desktop-packaging repos (or your own githubRepo) for a newer release that ships a macOS installer (.dmg/.pkg/.zip).
- Auto-downloads the installer to ~/Downloads (or downloadsDir) and runs open.
- Live download progress (streaming bytes + percent), indeterminate bar when unknown.
- Panel can be minimized to a floating bubble while downloading.
- Supports multiple update sources (GitHub, npm).
- Security checks: confirm before download, private IP blocking, SHA-256 checksum.
- GitHub mirror support for fast downloads in mainland China.
Installation
Method 1: Direct Install (Recommended)
dsh plugin --profile web add github:m1452700576/dsh-app-updater
Method 2: Local Development
# Clone the repository
git clone https://github.com/m1452700576/dsh-app-updater.git
cd dsh-app-updater
# Install in your DSH profile
dsh plugin --profile web add link:$PWD
Method 3: Manual Installation
- Clone or download this repository
- Copy the folder to your DSH profile:
cp -r . ~/.dsh/profiles/web/node_modules/@local/dsh-app-updater - Add to your profile's package.json:
{ "dependencies": { "@local/dsh-app-updater": "link:./dsh-app-updater" }, "dsh": { "profile": { "bundles": ["@local/dsh-app-updater"] } } } - Restart DSH completely
Configuration
Configure in cordis.patch.yml:
- insert:
- id: dsh-app-updater
name: '@local/dsh-app-updater'
config:
sourceType: github
githubRepo: m1452700576/dsh-app-updater
downloadsDir: ''
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
sourceType | string | github | Update source type (github or npm) |
githubRepo | string | steven-kid/deepseek-harness-desktop | GitHub repository to check for updates |
downloadsDir | string | ~/Downloads | Directory to save downloaded installers |
mirrors | array | [] | GitHub mirror URLs for faster downloads in China |
Usage
- After installation, look for the update icon in the DSH sidebar
- Click the icon to check for updates
- If an update is available, click "Download" to start the download
- The download progress will be shown in real-time
- Once downloaded, the installer will open automatically
API Routes (Loopback Only)
GET /api/dsh-update/status- Check current version and available updatesPOST /api/dsh-update/download- Download the latest updateGET /api/dsh-update/progress- Get download progress
Troubleshooting
Plugin not appearing
- Ensure DSH is completely restarted after installation
- Check that the plugin is listed in your profile's package.json
Update check fails
- Verify your internet connection
- Check if the GitHub repository is accessible
- Try using a mirror if you're in mainland China
Download fails
- Ensure you have enough disk space
- Check if the download directory is writable
- Verify the installer URL is accessible
Development
# Clone the repository
git clone https://github.com/m1452700576/dsh-app-updater.git
cd dsh-app-updater
# Install dependencies (none currently)
npm install
# Test the plugin locally
dsh plugin --profile web add link:$PWD
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
Apache-2.0
Support
- GitHub Issues: https://github.com/m1452700576/dsh-app-updater/issues
- Documentation: This README
Comments
Loading…
Similar plugins
by xingyingyuzhui
DSH self-updater in the settings page: one-click check/pull (`git pull --ff-only`), auto background checks, version diff and changelog preview with a red-dot reminder.
★ 5
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-updater-uiby zuwenyin
Adds a Versions tab to the Plugins page: one-click upgrade of all upgradable plugins or a multi-selected subset, version history back to any published release, and GitHub links for each repo and each
★ 1
MIT
TypeScript
Oct 28, 2026
dsh plugin --profile web add dsh-plugin-upgraderby Zhucy123
One-click update for the local DeepSeek Harness checkout — compare versions, pull and rebuild, then restart, and roll back to any past release, all from a sidebar panel with live progress.
★ 0
↓ 212/wk
MIT
JavaScript
Sep 15, 2026
dsh plugin --profile web add @zhucy123/dsh-updateGitLab and Kubernetes monitoring for DSH: merge request and pipeline management, deployment and pod status with logs and events, webhook-triggered alerts, and a dashboard UI.
★ 1
MIT
TypeScript
dsh plugin --profile web add @jacksonchen/dsh-devopsby mervin1944
Version badge above the sidebar settings button: shows the current dsh version, expands to list every core package version, and checks npm for updates with one-click deploy.
★ 0
↓ 77/wk
MIT
JavaScript
Sep 5, 2026
dsh plugin --profile web add dsh-version-badgeby InariNGT-Ofiicial
DSH 插件自动更新:连接原 GitHub 仓库,默认每 24 小时检查并安装更新,支持人工控制、备份与失败回退。
★ 19
↓ 10k/wk
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile agent add dsh-plugin-updates