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

Commit bc2db7f

Browse files
authored
Added google-chrome-stable to openBrowser
Closes: #32
1 parent cb036d8 commit bc2db7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

+2
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ func openBrowser(url string) {
180180
switch {
181181
case commandExists("google-chrome"):
182182
openCmd = exec.Command("google-chrome", chromeOptions(url)...)
183+
case commandExists("google-chrome-stable"):
184+
openCmd = exec.Command("google-chrome-stable", chromeOptions(url)...)
183185
case commandExists("chromium"):
184186
openCmd = exec.Command("chromium", chromeOptions(url)...)
185187
case commandExists("chromium-browser"):

0 commit comments

Comments
 (0)