chrome-launcher doesn't support FreeBSD, and just calling linux() on FreeBSD would only work when the user sets CHROME_PATH because the Chromium port on FreeBSD calls the binary "chrome" and not "google-chrome[-stable]" or "chromium[-stable]" like on Linux.
So this PR adds a really simple function which looks for CHROME_PATH and also does which chrome when on FreeBSD.
chrome-launcher doesn't support FreeBSD, and just calling
linux()
on FreeBSD would only work when the user setsCHROME_PATH
because the Chromium port on FreeBSD calls the binary "chrome" and not "google-chrome[-stable]" or "chromium[-stable]" like on Linux.So this PR adds a really simple function which looks for
CHROME_PATH
and also doeswhich chrome
when on FreeBSD.