From 700f261b867375ff46911c0c6a019ef4bb473cda Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 25 Jan 2016 09:39:51 -0800 Subject: [PATCH] update: Add missing '/' from update url. Fixes #1581 --- update-main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-main.go b/update-main.go index 8d086bf1..b106a943 100644 --- a/update-main.go +++ b/update-main.go @@ -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,