Skip to content

Commit

Permalink
Merge pull request #1300 from stefaanderoeck/stefaan/android-v0.20.0
Browse files Browse the repository at this point in the history
OpenInBrowser on Android as well
  • Loading branch information
hslatman authored Oct 22, 2024
2 parents b436480 + 51bf14b commit f619bce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ func OpenInBrowser(url, browser string) error {
} else {
cmd = exec.Command("xdg-open", url)
}
case "android":
cmd = exec.Command("xdg-open", url)
case "windows":
cmd = exec.Command("rundll32", "url.dll,FileProtocolHandler", url)
default:
Expand Down

0 comments on commit f619bce

Please sign in to comment.