1
0
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:
Stefaan De Roeck 2024-10-18 12:40:27 +02:00 committed by stefaanderoeck
parent b436480f07
commit 51bf14bba3

View File

@ -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: