update version info

This commit is contained in:
WhatDidYouExpect 2025-03-16 16:57:47 +01:00
parent ef93452d1c
commit 679b1822cd
5 changed files with 78 additions and 1 deletions

3
bot.py
View file

@ -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: