Alvin-Somedo/dsh-app-launcher ↗★ 0
dsh-app-launcher
Open the DSH Web GUI in a dedicated browser app window; closing the window shuts down DSH gracefully (ctx.appExit). A dsh profile bundle.
AI Analysis
核心用途是将 DSH Web 界面打包为独立的桌面应用窗口运行。适合不希望在普通浏览器标签页中混杂 DSH,且希望关窗即自动停服、省去命令行操作的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Alvin-Somedo/dsh-app-launcherREADME
Read the full README ↗配置
在 ~/.dsh/profiles/web/cordis.patch.yml 里按 id 覆盖(不要写 insert,插件行由 bundle 自带):
- id: app-launcher
config:
enabled: true # false = 完全停用
openOnStart: true # 启动时打开窗口
exitOnClose: true # 关窗即退出 DSH
browser: auto # auto | chrome | edge
# profileDir: C:\custom\profile # 自定义浏览器配置目录
createShortcut: true # 默认开启:启动时自动在桌面创建"隐藏启动 DSH"快捷方式(仅 Windows);false = 关闭
# shortcutName: DSH # 快捷方式名(不含 .lnk),默认 DSH
# launcherDir: ... # 生成的 start-dsh.vbs / dsh.ico 存放目录,默认 /launcher
# desktopDir: ... # 快捷方式生成位置,默认真实桌面
createShortcut(默认开启)会生成:
/launcher/start-dsh.vbs— 隐藏启动npx --yes @deepseek-ai/dsh web;/launcher/dsh.ico— 内置的 DSH 图标;- 桌面
DSH.lnk— 指向 wscript + 上面的 vbs。
已存在的文件/快捷方式不会被覆盖(生成时会跳过)。桌面快捷方式只负责"不打开终端也能启动";窗口打开与关窗退出仍由插件完成。