mirror of
https://github.com/Hmbown/DeepSeek-TUI.git
synced 2026-09-02 22:36:19 +08:00
cmd's %* expansion strips the quotes rustc puts around link arguments that
contain spaces, so an SDK path like "D:\DevEco Studio\...\sysroot" arrived at
the clang launcher split on the space and the final Rust link failed. Walk the
arguments with %~1 and re-wrap each in quotes before forwarding to the
PowerShell wrapper, and extend the no-SDK release guard to keep the re-quoting
contract.
Assisted by Claude Code.
Signed-off-by: shenjackyuanjie <54507071+shenjackyuanjie@users.noreply.github.com>
(cherry picked from commit 6a3837cd48)