Skip to content

v1.4.1 - 修复空格路径 Fix space-in-path

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 13:23
· 17 commits to main since this release

修复 Fix

本地安装候选在路径含空格时启动失败 / The project-local install candidate failed when its path contained spaces.

  • 根因:命令串经 std 自动参数转义(整体包引号+内部引号反斜杠转义)后再交 cmd /C 解析,多层引号规则冲突,空格路径被切碎

  • 修法:raw_arg 走标准 cmd /S /C "整条命令"——只剥最外层引号,内部引号原样保留;所有候选统一受益

  • 已实测:…\dsh space test 目录下的本地安装一次命中、10 秒就绪

  • Root cause: the command string went through std's automatic quoting and then cmd's own parsing — the layers conflict and mangle space-containing paths

  • Fix: spawn via raw_arg with the canonical cmd /S /C "whole command" form; all candidates benefit

  • Verified: a local install under …\dsh space test starts on the first hit, ready in ~10s

下载 dsh-desktop-windowos-v1.4.1.exe 即用 — Download the exe and run it directly.