9add0a4d61
Node execSync runs via cmd.exe on Windows, which preserves the `--` separator pnpm injects between the script name and forwarded args. Tauri CLI then forwards that `--` to cargo, which rejects `--bundles` with "unexpected argument". Invoking `pnpm exec tauri build --bundles nsis` skips the script indirection so no `--` is emitted. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>