From 51bf14bba3568f7a4aba9843c761d79b15cf66b1 Mon Sep 17 00:00:00 2001 From: Stefaan De Roeck Date: Fri, 18 Oct 2024 12:40:27 +0200 Subject: [PATCH] OpenInBrowser on Android as well --- exec/exec.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec/exec.go b/exec/exec.go index 03ba6026c..d841fdfa9 100644 --- a/exec/exec.go +++ b/exec/exec.go @@ -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: