mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
820c4db1b0
Extend scan_cli_version search paths with the PATH environment variable and common Windows Node/version-manager locations (pnpm, Volta, nvm, Scoop, Yarn). Entries from PATH are skipped when they point at the Microsoft\WindowsApps App Execution Alias directory, which is what previously caused bogus launches on Windows. Add unit tests for PATH dedup, child-dir suffix expansion, and the WindowsApps alias skip.
820c4db1b0
·
2026-05-25 22:20:34 +08:00
History