mirror of
https://github.com/smallstep/cli.git
synced 2025-04-19 10:42:15 +03:00
OpenInBrowser on Android as well
This commit is contained in:
parent
b436480f07
commit
51bf14bba3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user