4d4b0a2f24
Windows npm installs both bun (shell script) and bun.cmd (batch file). When spawning bun, cmd.exe cannot execute the shell script directly. This change makes findBun() return the full path to bun.cmd on Windows. Fixes: Stop hook "spawn bun ENOENT" on Windows