Simplify update method

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
jolheiser
2021-08-06 14:13:49 -05:00
parent 782f70ba21
commit 77dff83b0c
6 changed files with 11 additions and 6 deletions

View File

@ -13,7 +13,8 @@ import (
)
const (
protocolURL = "https://pokechu22.github.io/Burger/1.17.1.json"
version = "1.17.1"
protocolURL = "https://pokechu22.github.io/Burger/" + version + ".json"
//language=gohtml
soundTmpl = `// Code generated by gen_soundid.go. DO NOT EDIT.