Forgot to implement updating

This commit is contained in:
Belac Darkstorm
2017-04-03 09:23:41 -05:00
parent 5d5cedec58
commit 34b8f7c926
2 changed files with 20 additions and 2 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ func getVersionFileInfo() string {
return string(out)
}
func checkForUpdate(cur string, new string) bool {
curSlice := strings.Split(cur, ".")
func checkForUpdate(new string) bool {
curSlice := strings.Split(version, ".")
newSlice := strings.Split(new, ".")
curNums := make([]int, 4)
newNums := make([]int, 4)