Introduction¶
The DeepSeek Harness (DSH) desktop version on Windows defaults to an opaque window with multiple layers of solid page backgrounds. If left open for a long time, it looks like a solid panel that clashes with your desktop wallpaper. A common community workaround is to only change the CSS theme colors, but the window chrome is still controlled by the Electron main process, making it difficult to truly “let the wallpaper show through.”
Below is an introduction to the dsh-desktop-glass project maintained by JianHeShui (GitHub: JianHeShui/dsh-desktop-glass, Community Catalog: skillhub plugin page). It is classified as a “Fun Cosmetic” plugin within the DSH plugin ecosystem. The current repository has approximately 3 stars. The goal is clear: make the page semi-transparent, remove separator lines, and leverage the system Mica / Acrylic effects on Windows to allow the main window to reveal the desktop wallpaper.
What is this¶
dsh-desktop-glass is a frosted glass theme pack for the DSH desktop version, version 1.0.0, licensed under MIT.
DSH plugins can only inject CSS into the page; the window material (BrowserWindow’s backgroundMaterial, transparent backgroundColor) is hardcoded in the host app.asar’s main.js. Therefore, this repository is split into two parts that must be installed together to achieve the full effect:
- Plugin (repository root): Semi-transparent background, three-column gradients, switching animations, removal of separator lines.
- Patcher (
windows-acrylic/): Restores materials and transparent background to the main window.
Installing only the plugin makes the page semi-transparent but leaves the window opaque; applying only the patch makes the window transparent but leaves a solid color overlay on the page. Both are indispensable.
Platform: Only applicable to Windows, utilizing the system’s built-in Mica / Acrylic. Please set DSH to Light Mode before use, as the README states this yields the best results.
Core Features¶
Page Side (Plugin)¶
The plugin addresses the issue of multiple layers of opaque backgrounds stacking in the Windows layout: it sets .frame to fully transparent, changes the sidebar and page backgrounds to semi-transparent rgba, and applies gradients to the three columns to preserve depth. Class names are matched using suffixes like [class*="_centerCol"], ensuring they remain functional even if the frontend rebuilds with different hash names. At runtime, it only inserts a single <style> tag into the page.
Window Side (Patch)¶
The patch script inserts backgroundMaterial and a transparent backgroundColor into main.js. It maintains the original file length by removing an equal amount of comments, updating only the hash for that specific entry. This avoids rewriting the entire asar’s offset chain.
Customizable Options¶
Transparency can be adjusted by modifying the alpha values of various rgba groups in lib/client.js (a higher value means more opaque). The README provides line numbers and default values for the page background, sidebar, and the start/end points of the three-column gradients. Lines 35–37 control the bg-layer-1/2/3 card surfaces floating above the content; if adjusted to be too transparent, the settings interface may become difficult to read. The depth of the blue can be changed by modifying the RGB of the three gradient start points; for a same-color scheme, refer to #F0F9FF → #38BDF8.
The patcher optionally supports -Material mica to switch materials (note that when Acrylic is not focused, Windows degrades it to be more solid; this is system behavior).
Installation and Activation¶
Environment Requirement: Node.js 18+. The patching process uses node --check to verify syntax. If node is not in the PATH, the script will attempt to use the runtime bundled with DSH.
Perform the following operations in the locally downloaded plugin repository directory (the provided information does not include commands like dsh plugin add, so please do not guess command syntax based on the plugin name).
- Install the plugin:
node scripts/install-plugin.mjs
The script copies the repository to <DSH_HOME>\profiles\desktop\node_modules\dsh-desktop-glass and adds the bundle entry and dependency to the profile’s package.json. Restart DSH after completion.
- Apply the window material patch (Windows):
powershell -ExecutionPolicy Bypass -File .\windows-acrylic\apply-acrylic.ps1
The script will wait for DSH to exit (you can exit from the tray via right-click); it then applies the patch and restarts DSH. Common arguments: -Material mica, -AppRoot (manually specify installation directory), -DryRun (only generate for detection, do not modify files).
If the window remains opaque, please go to Settings → Personalization → Colors and turn on transparency effects.
After modifying lib/client.js, you must re-run the installation script and restart. If --link was used during installation, simply restarting after changes is sufficient.
Typical Usage and Uninstallation¶
Uninstall in the reverse order:
node scripts/uninstall-plugin.mjs
powershell -ExecutionPolicy Bypass -File .\windows-acrylic\restore-asar.ps1
After uninstalling the plugin, no residual style injection will remain.
Directory Structure (for self-checking):
package.json Plugin manifest
cordis.patch.yml Bundle patch
lib/client.js Browser-side CSS
lib/index.js Host-side (empty)
windows-acrylic/ Window patch
scripts/ Install, uninstall
Suitability and Caveats¶
Who is it for: Maintainers using the DSH desktop version on Windows who want the window and chat interface to blend with their wallpaper, and who are comfortable modifying the host’s app.asar.
Permissions and Trust: The plugin and patch scripts run with your current user permissions; the patch modifies the installed DSH program files. You should read the repository source code and the MIT license before installation to assess the risks yourself. The README explicitly states that modifying app.asar constitutes “getting hands-on with the host,” and the plugin is shared on that basis.
Known Limitations (from the README):
- DSH updates will overwrite
app.asar. If the patch becomes invalid, you need to re-runapply-acrylic.ps1. - If DSH changes the main window structure, the patch script will error out and exit without modifying the installed files.
- If a specific build enables Electron embedded asar integrity validation, the application may fail to start after patching. You can use
restore-asar.ps1to revert; the documentation states that DSH does not currently expose this option.
The DSH ecosystem emphasizes “everything is a plugin”; skillhub.cn is a community catalog and has no official affiliation with DeepSeek or High-Flyer.
Conclusion¶
dsh-desktop-glass splits “page CSS theming” and “Windows window materials” into two lines—plugin and patch—to maximize wallpaper visibility under the constraint that DSH can only inject styles. To get the full effect, remember to install both, keep DSH in light mode, and ensure system transparency effects are enabled.
- Community Catalog: https://www.skillhub.cn/plugins/JianHeShui/dsh-desktop-glass
- Source Code and Documentation: https://github.com/JianHeShui/dsh-desktop-glass