ChatGPTClaudeGrok / X / CursorGemini

dsh-easyrestart: Native Restart Menus for DeepSeek Harness Desktop

jkrhug/dsh-easyrestart

UI & ExperienceVerified
Listed on 2026-10-30
Page last updated 2026-11-11

Adds native Restart entries to DSH Desktop's tray and Application menus, so newly installed plugins take effect without quitting and relaunching manually.

dsh-easyrestart is a DSH plugin that fixes the missing restart entry in DeepSeek Harness Desktop: closing the window often just hides it to the tray, so making a new plugin take effect means quitting and reopening by hand. It adds a native Restart item above Quit in the tray context menu and in the Application menu, relaunching the app and host on click with styling and labels that follow the system language. The patch rewrites only a few bytes of the main-process script in the install directory and resynchronizes its checksum, and can be installed or reverted via a command, an agent tool, or the plugin management page; it supports the Windows desktop build only.

How to Install

install
dsh plugin --profile <your-profile> add github:jkrhug/dsh-easyrestart

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
UI & Experience
Platform
DSH Plugin
Author
jkrhug
Distribution
Plugin

dsh-easyrestart Key Features

Restart item in tray menuRestart item in app menuNative styling and localizationInstall and restore patch
Listed on dsh-plugin.org

dsh-easyrestart Repo Summary

What Does It Do?

EasyRestart is a DSH plugin for DeepSeek Harness that adds native Restart entries above Quit in DSH Desktop's tray menu and Application menu. It solves the problem that DSH Desktop has no restart entry, so making a newly installed plugin take effect means quitting from the tray and reopening the app by hand. The added items use the system's native menu styling, follow the interface language (Restart in English, 重启 in Chinese), and can be installed or restored at any time through a command, an agent tool, or the plugin management page.

Core Features

  • Tray menu restart item: inserts "Restart DeepSeek Harness" above "Quit DeepSeek Harness" in the tray context menu, relaunching the app on click.
  • Application menu restart item: enables "Restart App and Host" in the top-left Application menu and hides the original reload-page entry.
  • Native styling and localization: both items are built from Electron's native menu template in the main process, matching system fonts, spacing, separators and hover highlight, with labels following the UI language.
  • Status, install and restore: check whether the menu items are in place and install or revert the patch via /easyrestart status | install | uninstall, the agent tool, or the plugin management page.
  • Safe byte-level patching: only lib/main.js inside resources/app.asar in the Desktop install directory is modified, with its SHA256 checksum resynchronized; nothing is repackaged and no other files are touched.

How to Use This Plugin?

After enabling this DSH plugin in DSH Desktop, fully quit and reopen the app; the Restart entries then appear in the tray context menu and the Application menu, and clicking one restarts the app and host. Use /easyrestart status to confirm the items are in place, and install or uninstall to apply or revert the patch; you can also let an agent call the corresponding tool or use the "restart dsh" row on the plugin management page. The plugin only works on the Windows desktop build, since the web build has no such native menus; a DSH Desktop upgrade replaces app.asar and removes the patch, so reinstall once after upgrading.

How to Troubleshoot This Plugin?

If nothing changes after installing, the app was probably not fully quit: menus are built at startup, and closing the window may only hide it to the tray, so quit from the tray and reopen. An EPERM error means the current permissions cannot write to resources/app.asar in the Desktop install directory; raise permissions as described in the official instructions and retry. If an anchor cannot be found, the plugin reports an explicit error instead of writing blindly, which usually means the Desktop version does not match the patch; reinstall after upgrading.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: jkrhug/dsh-easyrestart. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ