forked from gooberinc/goober
update version info
This commit is contained in:
parent
ef93452d1c
commit
679b1822cd
5 changed files with 78 additions and 1 deletions
3
bot.py
3
bot.py
|
@ -203,6 +203,9 @@ def check_for_update():
|
|||
return None, None
|
||||
|
||||
local_version = get_local_version()
|
||||
if local_version == "0.0.0":
|
||||
with open(LOCAL_VERSION_FILE, "w") as f:
|
||||
f.write(latest_version)
|
||||
generate_sha256_of_current_file()
|
||||
gooberhash = latest_version_info.get("hash")
|
||||
if gooberhash == currenthash:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue