rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:StabCut/dsh-plugin-restart-desktop
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 | English
一个极简的 DSH Desktop 插件:只做一件事——在侧边栏左下角添加一个「重启Desktop」按钮,点击后有序重启 DSH Desktop。
除此之外没有任何其他功能。代码量小、行为单一,非常适合:
pnpm install → 重启生效,装完立刻能在界面上看到按钮;cordis.patch.yml 的 insert 补丁、host/client 双侧与 Typert Remote 写法。
上图:中文语言下的按钮效果(位于左下角设置行、齿轮右侧,悬停显示「重启Desktop」提示)。 切换为 English 后的效果见 英文版 README 中的截图。
desktopActions.requestRestart()(Electron relaunch)有序重启,并显示「正在重启…」等待层;web profile 下返回 { ok: false } 并弹出友好错误提示。本插件为桌面专用,只需注册进 desktop profile:
把本目录加入 desktop profile 的 dependencies 与 dsh.profile.bundles:
// ~/.dsh/profiles/desktop/package.json
"dependencies": { "dsh-plugin-restart-desktop": "file:F:/path/to/dsh-plugin-restart-desktop" },
"dsh": { "profile": { "bundles": [ "@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-plugin-restart-desktop" ] } }
在 profile 目录执行 pnpm install;
重启 DSH Desktop,左下角设置行即可看到「重启Desktop」按钮。
MIT。见 LICENSE。English docs: README.en.md。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。