Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
Added google-chrome-stable to openBrowser
Browse files Browse the repository at this point in the history
Closes: #32
  • Loading branch information
timcole authored Apr 22, 2019
1 parent cb036d8 commit bc2db7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ func openBrowser(url string) {
switch {
case commandExists("google-chrome"):
openCmd = exec.Command("google-chrome", chromeOptions(url)...)
case commandExists("google-chrome-stable"):
openCmd = exec.Command("google-chrome-stable", chromeOptions(url)...)
case commandExists("chromium"):
openCmd = exec.Command("chromium", chromeOptions(url)...)
case commandExists("chromium-browser"):
Expand Down

0 comments on commit bc2db7f

Please sign in to comment.