DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-bat2exe

n

dsh-bat2exe

Manifest valid

Compiles a Windows .bat/.cmd launcher into a real .exe from inside DSH: renders an icon from a built-in bitmap font, emits a C# wrapper that runs the batch file next to it, compiles with csc.exe (or d

hasBundlePatch

dsh-bat2exe

Turn a Windows .bat / .cmd launcher into a real .exe — from inside DeepSeek Harness.

The EXE is a thin shell: it locates the batch file next to itself and hands the whole job to cmd.exe. The launcher logic stays editable text, no tool path is baked into the binary, and upgrading whatever the batch file calls needs no recompilation.

Install

dsh plugin --profile web add dsh-bat2exe

Restart DSH, then ask the agent to build a launcher — or call the tool directly.

Tools

bat2exe_build

ParameterMeaning
batrequired — path to the .bat/.cmd file (absolute, or relative to the working directory)
nameoutput executable name; defaults to the batch name with .exe
iconTextup to four characters drawn on a generated icon
iconTextColouricon text colour as #rrggbb
iconuse an existing .ico instead of rendering one
startMenuShortcutalso write a Start Menu shortcut
desktopShortcutalso write a Desktop shortcut

The build runs four steps, all local and offline:

  1. Icon — renders a rounded-square plate with a diagonal gradient and the given text, using a built-in 5×7 bitmap font, then packs it as a 256×256 ICO. No image library, no external tool.
  2. C# shell — emits a wrapper whose only job is to run the batch file from its own directory, forwarding all arguments and preserving the exit code.
  3. Compile — csc.exe from the .NET Framework (falling back to dotnet build when only the .NET SDK is present), with the icon embedded as a resource.
  4. Shortcuts — optional .lnk files, written through WScript.Shell.

bat2exe_probe

Reports the local toolchain — C# compiler path, .NET SDK presence, PowerShell, and the resolved defaults — so a failure can be diagnosed before a build is attempted.

Settings

bat2exe registers a settings namespace, so defaults are editable in Settings → Plugins rather than by hand-editing a profile patch:

KeyDefaultMeaning
iconTextBATtext drawn on a generated icon
iconFrom / iconTo#12204a / #4a6cf7gradient start / end
workDir.bat2exewhere *.cs, *.ico and other by-products go
startMenuShortcutfalsedefault for the Start Menu shortcut
desktopShortcutfalsedefault for the Desktop shortcut

Per-call tool arguments always win over these defaults.

Requirements

  • Windows. The pipeline compiles a Windows PE and writes .lnk files.
  • A C# compiler: .NET Framework 4.x (csc.exe, present on stock Windows) or the .NET SDK.
  • PowerShell for shortcut creation only (pwsh preferred, Windows PowerShell accepted).

bat2exe_probe reports exactly which of these were found.

What gets written

Everything lives next to the batch file, so a launcher folder is self-contained:

DSH-Web.bat            <- your launcher (unchanged)
DSH-Web.exe            <- the compiled shell
.bat2exe/
  DSH-Web.ico          <- generated (or your supplied) icon
  DSH-Web.cs           <- the emitted C# source, kept for inspection

License

MIT

Compatibility

DSH 0.2.2-alpha.2: failedDSH 0.1.6-alpha.2: failedDSH 0.1.7-alpha.2: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——

Comments

Loading…

Similar plugins

dsh-desktop-launcher2

by H1Kariiiiiii

One-click desktop launcher for DSH Web: creates a Windows .lnk with a WPF-style startup popup (progress + timeout), then opens the authenticated browser; plus a floating shutdown button that exits dsh

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 3

Apache-2.0

JavaScript

Sep 6, 2026

dsh plugin --profile web add dsh-desktop-launcher2

Windows-native computer use for DeepSeek Harness: two tools drive and read any desktop app. One batch call runs find, click, type, key, read, wait and screenshot steps in a single engine pass, so a ta

Tools & CapabilitiesManifest valid

★ 0

dsh plugin --profile web add dsh-win-computer-use

by cloader

One-click dev-process launcher for the DSH web GUI: per-workspace launch configs (frontend / backend / other command groups), a session-header start button, and an in-session console tab streaming live process output over SSE. Host half spawns and supervises the processes (tree-kill on Windows, ring-buffered output); browser half mounts through the official slot system — no DSH source changes.

Terminal & ClientsManifest valid

★ 0

TypeScript

Aug 26, 2026

dsh plugin --profile web add dsh-devlaunch

by copylee711

DeepSeek Harness 的 Windows 电脑控制插件:截图、鼠标、键盘、窗口与剪贴板工具,按应用授权,Esc 暂停。

Tools & CapabilitiesManifest valid

★ 31

↓ 2k/wk

MIT

TypeScript

Oct 29, 2026

dsh plugin --profile web add @copylee/dsh-computer-use

by Fishquito7

Give DSH a real bash tool on Windows: call bash directly, with no pwsh escaping and no quoting hell.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

↓ 34/wk

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add dsh-git-bash

by VviLliAm-qwq

Make a Git for Windows installation resolvable as bash inside the dsh host process, so the official bash shell stack can run on Windows

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 16, 2026

dsh plugin --profile web add dsh-git-bash