Skip to content

Commit 51bf14b

Browse files
OpenInBrowser on Android as well
1 parent b436480 commit 51bf14b

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)