termux-packages/packages/hub/utils-utils.go.patch
2019-06-29 21:03:49 +03:00

13 lines
445 B
Diff

diff -uNr hub-2.12.1/utils/utils.go hub-2.12.1.mod/utils/utils.go
--- hub-2.12.1/utils/utils.go 2019-06-28 23:19:41.000000000 +0300
+++ hub-2.12.1.mod/utils/utils.go 2019-06-29 17:11:57.853729989 +0300
@@ -30,7 +30,7 @@
func BrowserLauncher() ([]string, error) {
browser := os.Getenv("BROWSER")
if browser == "" {
- browser = searchBrowserLauncher(runtime.GOOS)
+ browser = "termux-open"
} else {
browser = os.ExpandEnv(browser)
}