mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-05 20:47:45 +01:00
b43d1e8d14
npm installs Gemini CLI, Codex and often Claude Code on Windows as .cmd shims. They were found, but Rust starts only .exe files by bare name, so every build stopped with "gemini isn't installed or isn't on your PATH". An npm (or pnpm) shim's script now runs with Node directly, so a prompt with line breaks or over cmd.exe's 8191 characters arrives whole; any other batch file starts by its full path. The usual Windows install folders (~\.local\bin, npm, bun, cargo) are searched after PATH. Fixes #18