Skip to content

Commit f619bce

Browse files
authored
Merge pull request #1300 from stefaanderoeck/stefaan/android-v0.20.0
OpenInBrowser on Android as well
2 parents b436480 + 51bf14b commit f619bce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exec/exec.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ func OpenInBrowser(url, browser string) error {
115115
} else {
116116
cmd = exec.Command("xdg-open", url)
117117
}
118+
case "android":
119+
cmd = exec.Command("xdg-open", url)
118120
case "windows":
119121
cmd = exec.Command("rundll32", "url.dll,FileProtocolHandler", url)
120122
default:

0 commit comments

Comments
 (0)