Skip to content

Commit

Permalink
Add OpenBSD for `LookPath' function. (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
lu4nx authored Apr 16, 2023
1 parent 75f9efc commit f0a91df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/launcher/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,10 @@ func LookPath() (found string, has bool) {
"/snap/bin/chromium",
"/data/data/com.termux/files/usr/bin/chromium-browser",
},
"openbsd": {
"chrome",
"chromium",
},
"windows": append([]string{"chrome", "edge"}, expandWindowsExePaths(
`Google\Chrome\Application\chrome.exe`,
`Chromium\Application\chrome.exe`,
Expand Down

0 comments on commit f0a91df

Please sign in to comment.