Skip to content
Snippets Groups Projects
Unverified Commit eb3da3ff authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] version check in osx

parent cc1b7ae1
No related branches found
No related tags found
No related merge requests found
......@@ -25,10 +25,12 @@ func CanUpgrade() bool {
switch runtime.GOOS {
case "windows":
uri += "windows"
case "darwin":
uri += "osx"
case "linux":
fallthrough
default:
uri += "linux"
case "osx":
uri += "osx"
}
uri += "/lastver"
resp, err := http.Get(uri)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment