update: Add missing '/' from update url.

Fixes #1581
This commit is contained in:
Harshavardhana
2016-01-25 09:39:56 -08:00
parent 3f3adb1858
commit 700f261b86
+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,