Problem
detectWindows() in src/main/shell-detector.ts has three gaps:
- Git Bash: Only checks
C:\Program Files\Git\bin\bash.exe. Fails if Git is installed in Program Files (x86), %LOCALAPPDATA%\Programs\Git, or a custom location.
- cmd.exe: Not detected at all — Command Prompt is always available on Windows but missing from the shell menu.
- WSL: Not detected —
wsl.exe is present on any Windows 10+ with WSL enabled.
Fix
- Check multiple Git Bash paths +
where.exe bash fallback
- Add cmd.exe (always available)
- Detect
C:\Windows\System32\wsl.exe
Problem
detectWindows()insrc/main/shell-detector.tshas three gaps:C:\Program Files\Git\bin\bash.exe. Fails if Git is installed inProgram Files (x86),%LOCALAPPDATA%\Programs\Git, or a custom location.wsl.exeis present on any Windows 10+ with WSL enabled.Fix
where.exe bashfallbackC:\Windows\System32\wsl.exe