Windows One-Click Launcher: Open DeepSeek Harness in a Standalone Window (not a Browser Tab) #3268
habushe
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🚀 Windows One-Click Launcher: Open DeepSeek Harness in a Standalone Window (not a Browser Tab)
The Problem
On Windows, starting DeepSeek Harness is a two-step dance:
dsh web(the server keeps the terminal busy)If you just run
dsh web, the GUI opens in a browser tab — not the nice standalone window you get from the Chrome PWA. And keeping a terminal open just to run the server is clunky.The Solution
A zero-dependency VBScript launcher + desktop shortcut that does everything with one double-click:
3080already has a server listeningdsh webhidden in the background (correct working directory, logged output)If the server is already running, it skips straight to opening the window. Idempotent and safe.
Why VBScript?
wscript.exeruns it on double-click with no console window flashKey Snippet
The PWA
app-idcomes from installing DeepSeek Harness as a Chrome app (stored under%LOCALAPPDATA%\Google\Chrome\User Data\Default\Web Applications\_crx_<id>\).Pitfalls I Hit (hoping this saves you time)
isListeningand a functionIsListening()collide → compile error. Rename one.LOGis a built-in VBScript function (natural log) — can't be used as a constant name.shell.Execpipe reads can deadlock —netstat | findstrviaAtEndOfStreamhung. Redirect to a temp file and read that instead.cmd /cwith nested quotes + spaces in path (e.g.deepseeek harnees) breaks parsing — useshell.CurrentDirectoryinstead ofcmd /c.dsh webneeds the right working directory — runningnode bin.js --profile webfrom the wrong cwd fails;cd <npm-dir> && dsh webworks.Files & Install
Full repo with
install.ps1(auto-detects node/dsh/Chrome/PWA paths and creates the desktop shortcut):👉 https://github.com/habushe/dsh-oneclick-launcher
Then double-click the DeepSeek Harness desktop shortcut. Done. 🎉
中文版
问题
Windows 上启动 DeepSeek Harness 要两步:先开 PowerShell 跑
dsh web,再点桌面快捷方式打开独立窗口。直接跑dsh web会在浏览器标签页里打开 GUI,而不是 Chrome PWA 那种独立应用窗口。方案
一个零依赖的 VBScript 启动器 + 桌面快捷方式,双击一次搞定:
dsh web(正确工作目录 + 日志)服务已在运行时会直接跳过启动,幂等安全。
踩坑记录
isListening与函数IsListening()同名会编译报错LOG是 VBScript 内置函数名(自然对数),不能当常量shell.Exec管道读取会死锁:netstat | findstr用AtEndOfStream判断会卡住 → 改用临时文件cmd /c嵌套引号 + 路径含空格会解析失败 → 用shell.CurrentDirectorydsh web需要正确的工作目录:cwd 不对会启动失败完整仓库
包含
install.ps1(自动探测 node/dsh/Chrome/PWA 路径并创建桌面快捷方式):👉 https://github.com/habushe/dsh-oneclick-launcher
然后双击桌面 DeepSeek Harness 快捷方式即可 🎉
All reactions