dsh-autostart

写 HKCU\Software\Microsoft\Windows\CurrentVersion\Run 让 DSH 在 Windows 登录时启动,插件被关闭或卸载时精确移除那一条。84 行,没有守护进程、没有后台进程、不装服务;通过 execFileSync 写入,安装路径含空格时仍保留引号,登录时确实能拉起。

插件介绍

写 HKCU\Software\Microsoft\Windows\CurrentVersion\Run 让 DSH 在 Windows 登录时启动,插件被关闭或卸载时精确移除那一条。84 行,没有守护进程、没有后台进程、不装服务;通过 execFileSync 写入,安装路径含空格时仍保留引号,登录时确实能拉起。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:LLL-lyh0/dsh-autostart

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令