Open BradLugo opened 5 years ago
This already happens, actually. See here: https://github.com/matt1484/bl3_auto_vip/blob/87d814b6cdb8f977c5dfa2c48547711a05a03828/cmd/main.go#L271-L273
It’s not exactly the best way to check. I plan on changing it a bit at some point
This would actually be a really simple change:
GET
JSON from https://api.github.com/repos/matt1484/bl3_auto_vip/releases/latest.tag_name
to your version
constantYou'd just need to make sure that your version
constant matches your tag name.
Check GitHub release for updated binaries and prompt the users about the newer version