fix(browser): detect more Linux Chromium installs (#48563)

Co-authored-by: Catalin Lupuleti <105351510+lupuletic@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-04-25 09:11:30 +01:00
parent 0da58302cf
commit 5ac36c9719
4 changed files with 53 additions and 1 deletions

View File

@@ -561,7 +561,9 @@ You can override with `browser.executablePath`.
Platforms:
- macOS: checks `/Applications` and `~/Applications`.
- Linux: looks for `google-chrome`, `brave`, `microsoft-edge`, `chromium`, etc.
- Linux: checks common Chrome/Brave/Edge/Chromium locations under `/usr/bin`,
`/snap/bin`, `/opt/google`, `/opt/brave.com`, `/usr/lib/chromium`, and
`/usr/lib/chromium-browser`.
- Windows: checks common install locations.
## Control API (optional)