- Inicio
- Plugins
- Herramientas y funciones
- dsh-autostart
A
dsh-autostart
aily-dsh/dsh-autostart
Adds a Windows logon autostart toggle with configurable startup delay to DSH Settings, using a resilient HKCU Run launcher.
Instalar
dsh plugin --profile web add github:aily-dsh/dsh-autostartREADME
dsh-autostart
给 DSH 桌面客户端加一个「设置 → 开机自启动」开关。
- 一键启用 / 关闭,不需要管理员权限(写入当前用户的
HKCU\Software\Microsoft\Windows\CurrentVersion\Run); - 可设置登录后延迟秒数(0–300),启动器会继续等待程序文件出现,最多 5 分钟;
- 启动器失败会写日志:
%DSH_HOME%\dsh-autostart\launch.log; - Windows 专属,其它平台在设置里显示「当前系统不支持」。
安装
dsh plugin add link:C:\path\to\dsh-autostart
或在 DSH 客户端「插件」页安装本目录,然后重启客户端(host 侧代码需要重启才加载)。
打开 设置 → 开机自启动,开关即可。
它写了什么
| 位置 | 内容 |
|---|---|
HKCU\...\Run → DeepSeek Harness | wscript.exe "<DSH_HOME>\dsh-autostart\launch.vbs" |
%DSH_HOME%\dsh-autostart\launch.vbs | 等待程序文件 → 延时 → 无窗口启动 exe |
%DSH_HOME%\dsh-autostart\settings.json | 延迟秒数 |
%DSH_HOME%\dsh-autostart\launch.log | 只在失败时写入 |
关闭开关只删除 Run 键值,不删除启动器文件,方便再次打开。
为什么用 VBS
登录瞬间 D: 盘可能还没就绪,直接登记 exe 会静默失败、且没法重试。VBS 启动器会轮询等待
DeepSeek Harness.exe 出现,并且用 Chr(34) 给路径加引号(WScript.Shell.Run 会把空格当参数分隔符)。
旧的手动脚本
manual/ 里保留了最初的 install.ps1 / status.ps1 / uninstall.ps1,
供没有装插件时手动使用。插件安装后请用设置里的开关,二者写的是同一个 Run 值。
限制
- 只支持 Windows;
- 只对当前用户生效(不是所有用户);
- 可通过环境变量
DSH_AUTOSTART_EXE显式指定DeepSeek Harness.exe路径; - 如果客户端被移动到别的路径,重新开关一次即可更新启动器里的目标路径。
Plugins relacionados
T
archify (deepseek-harness)
tt-a1i/archify
102.5kayerHerramientas y funcionesApache-2.0
T
WeKnora (dsh-weknora)
tencent/weknora
38.7khace 15 horasHerramientas y funciones
D
next-ai-draw-io (dsh-plugin)
dayuanjiang/next-ai-draw-io
37.3khace 8 horasHerramientas y funcionesApache-2.0
Y
AiToEarn (dsh-plugin-aitoearn)
yikart/aitoearn
29khace 14 horasHerramientas y funcionesMIT