Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

Merge branch 'main' of https://github.com/dsh-tauri-desk/deepseek-harness-desktop

hairyf8036aa434b56
diff --cc src-tauri/src/service/cli/shim.rs
index 6942f5f7,dce5eff3..9560a9dd
--- a/src-tauri/src/service/cli/shim.rs
+++ b/src-tauri/src/service/cli/shim.rs
@@@ -351,12 -367,16 +367,21 @@@ rem Do not edit: regenerated by the des
setlocal
set "APP_DIR={app_dir}"
set "PNPM_BIN={pnpm_bin}"
+ rem Use bundled MinGit only when system Git lacks its HTTPS transport helper.
+ set "SYSTEM_GIT_WORKS="
+ for /f "delims=" %%g in ('git --exec-path 2^>nul') do if exist "%%g\git-remote-https.exe" set "SYSTEM_GIT_WORKS=1"
+ if not defined SYSTEM_GIT_WORKS if exist "%APP_DIR%\dependencies\git\cmd\git.exe" set "PATH=%APP_DIR%\dependencies\git\cmd;%PATH%"
+
+ rem Use the absolute user pnpm selected and validated by the desktop app.
+ if defined DSH_PNPM (
+ if exist "%DSH_PNPM%" goto :use_selected
+ )
+rem Use the absolute user pnpm selected and validated by the desktop app.
+if defined DSH_PNPM (
+ if exist "%DSH_PNPM%" goto :use_selected
+)
+
rem App-internal installs (DSH_PREFER_BUNDLED_PNPM=1) use the bundled pnpm,
rem falling back to the user's only when the bundled one is missing.
if "%DSH_PREFER_BUNDLED_PNPM%"=="1" (