Commit cfe6703
fix(vscode): probe PATH for chromium/chrome binary instead of hardcoding first candidate
findChromePath() now uses `which` (or `where` on Windows) to check
each candidate actually exists before returning it. Fixes detection
on Arch Linux where the binary is `chromium` not `google-chrome`.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d82ad9e commit cfe6703
2 files changed
Lines changed: 14 additions & 2 deletions
File tree
- packages
- devtools-extension/packages
- vscode-extension/src/launch
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
| |||
0 commit comments