Merge pull request #1582 from harshavardhana/add-missing

update: Add missing '/' from update url.
This commit is contained in:
Krishna Srinivas
2016-01-25 23:19:04 +05:30
+2 -2
View File
@@ -170,9 +170,9 @@ func getReleaseUpdate(updateURL string) {
var downloadURL string
if runtime.GOOS == "windows" {
downloadURL = updateURL + runtime.GOOS + "-" + runtime.GOARCH + "/mc.exe"
downloadURL = updateURL + "/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc.exe"
} else {
downloadURL = updateURL + runtime.GOOS + "-" + runtime.GOARCH + "/mc"
downloadURL = updateURL + "/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc"
}
updateMsg := updateMessage{
Download: downloadURL,