Preface¶
DeepSeek Harness (dsh) desktop appears as a standalone App in Finder, the Applications folder, and the Dock. The default icon is standardized; if you want dsh to be instantly recognizable in the system or simply wish to use your own image, you typically need to modify application bundle resources, handle macOS corner rounding and signing, and find a way to force Dock and Finder to refresh immediately—a multi-step process prone to operational errors. The community plugin dsh-any-icon (maintainer MentonLiu, SkillHub category “Fun Dress-up”) condenses “Upload → 1:1 Crop → Set as dsh Icon → One-click Restore” into the “Icon Workshop” within dsh settings. In verified macOS + dsh desktop environments, the three locations synchronize updates approximately 1–3 seconds after replacement, without requiring a restart of dsh or interrupting running tasks.
What is this¶
dsh-any-icon is a dual-sided plugin for dsh: the browser side provides the Icon Workshop UI, and the Node.js Host provides the anyIcon remote service, bridged via Typert. The contract is centralized in shared/bridge.js (zod dual-side validation). Current version 0.3.3, License MIT, declared compatibility with dsh >=0.2.1-rc.2 <0.3.0-0. The README states: App icon replacement is implemented for macOS only; Windows has not undergone deep verification, and behavior is not guaranteed.
Directory Page: SkillHub - dsh-any-icon
Source Code & Docs: GitHub - MentonLiu/dsh-any-icon
What the Icon Workshop can do¶
Upload and Crop¶
- Supports PNG / JPG / WebP, single image ≤ 20MB, recommended side length ≥ 1024px.
- The cropper enforces 1:1: drag to position, scroll wheel or slider to zoom, arrow keys for fine-tuning (Shift for acceleration), 90° rotation, and reset.
- Two output specifications:
- Standard 1:1: Square icon, suitable for exporting universal images.
- macOS Dock (default, remembers last selection): 1024×1024 canvas, 824×824 graphic + 100px transparent margin on all sides, graphic masked with continuous curvature rounded corners (squircle)—consistent with macOS app icon self-drawn corner rounding; the system will not automatically add corners for you.
Gallery and Backup¶
- Gallery supports deletion and downloading PNG suites in multiple sizes (macOS Dock includes 1024px, plus 512 / 256 / 128 / 64).
- Export / Import JSON backup for cross-browser migration; interface is bilingual (follows dsh language), with prompts when storage is full. Icon library limit is 30; data is stored in browser localStorage (key name
dsh-any-icon.*), no automatic syncing across browsers / devices.
Set as dsh App Icon¶
In the “dsh Icon” section at the bottom of the Workshop: Select an icon from the gallery → “Set as dsh Icon” / “Restore Original Icon”.
Before applying, the plugin processes the icon uniformly into a macOS Dock PNG with transparent corners and margins, then writes it into the App bundle icon and updates the live icon; old gallery or “Standard 1:1” icons are also automatically processed, while those already in macOS Dock spec will not have margins added redundantly.
Immediate Effect uses a two-layer mechanism (README technical brief): replacing icon.icns within the App bundle (ad-hoc re-signing + byte-level backup) + writing Finder custom icon, then refreshing iconservices and Dock caches. Finder (Applications folder), Applications / Launchpad views, and Dock update instantaneously, without restarting dsh, Dock, or Finder.
The original icon is backed up byte-by-byte in ~/.dsh/any-icon/; after “Restore Original Icon”, the original Developer ID signature becomes valid again. The status panel allows viewing the target path, live icon / native icon, current signature, app version, and running status.
Note: The icon in the dsh “About” panel updates only on the next launch; dsh auto-updates will replace the entire App bundle and revert the icon, requiring re-application. If a third-party custom icon already exists before application, the plugin will not overwrite it and will throw an error.
Installation and Activation¶
The plugin runs with current dsh process privileges, rewriting icons within the App bundle and requesting macOS “App Management” permissions; it is recommended to review the source code and MIT license before installation to accept the backup and signing behaviors.
Desktop Version (Recommended)¶
The desktop profile is exclusively managed by the desktop application; CLI attempts to modify the profile directly will be rejected. Please install this plugin via Plugin Management in the dsh desktop version (installable via channel after release to npm / GitHub; before release, it can be experienced via link on the web side, see below).
Web / CLI (Local link experience)¶
The official README provides the following method for loading into the web profile (replace <absolute-path-to-repo> with the actual path):
# 1) Install as link dependency into web profile
cd ~/.dsh/profiles/web
# package.json: add "dsh-any-icon": "link:<absolute-path-to-repo>" to dependencies
# add "dsh-any-icon" to the dsh.profile.bundles array
ln -sfn <absolute-path-to-repo> node_modules/dsh-any-icon
# 2) Append to cordis.patch.yml:
# - insert:
# - id: any-icon
# name: dsh-any-icon
# 3) Launch
dsh web --no-open
Before release, you can also use on the web side: dsh plugin --profile web add link:... (path depends on your local repository).
Uninstall¶
Delete the dependency and bundles in package.json, the node_modules link, and the insert section in cordis.patch.yml; package.json.bak-anyicon and cordis.patch.yml.bak-anyicon left in the same directory can be used to restore from backup. In-browser data can be cleared via localStorage after performing an “Export Backup”.
Typical Usage¶
- Open dsh Settings → Icon Workshop.
- Click “Upload Image”, drag/scale in the crop window, and click “Save Icon” to add to the gallery (default is macOS Dock spec).
- In the “dsh Icon” section, select a gallery item → “Set as dsh Icon” → Confirm. The first time on macOS, an App Management permission prompt will appear; please allow it, or manually enable it in System Settings → Privacy & Security → App Management.
- When restoration is needed, click “Restore Original Icon”; before switching browsers, use “Export Backup” and “Import Backup” in the new environment.
Use Cases and Limitations¶
Suitable for: Developers or daily users using dsh desktop on macOS who wish to customize the dsh icon in Dock / Finder with the ability to restore with one click.
Limitations to be aware of (all from README):
- Deep verification scope: macOS (including historical testing on macOS 26 + dsh 0.2.0-rc.2, as well as loading, workshop, status, and transparent corner application verification on 0.2.1-rc.2); Windows has not been deeply verified.
- macOS Dock spec has a ≤2.5% shape error compared to the system squircle (not visible at Dock display size).
- The roadmap mentions that v0.4+ may implement Host-side gallery sync and conversational
set_app_icon; Windows .exe resource-level icons remain pending.
The DeepSeek Harness ecosystem advocates “Everything is a Plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer.
Links¶
- Plugin Directory: https://www.skillhub.cn/plugins/MentonLiu/dsh-any-icon
- GitHub: https://github.com/MentonLiu/dsh-any-icon