rename hmh.go to main.go and just use open on url instead of open with safari.
This commit is contained in:
parent
4cb5097341
commit
e0733f5ce6
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ func openbrowser(url string) {
|
|||
case "windows":
|
||||
err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
|
||||
case "darwin":
|
||||
err = exec.Command("open", "-a", "Safari", url).Start()
|
||||
err = exec.Command("open", url).Start()
|
||||
default:
|
||||
err = fmt.Errorf("unsupported platform")
|
||||
}
|
Loading…
Reference in a new issue