Merge pull request #1582 from harshavardhana/add-missing
update: Add missing '/' from update url.
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user