mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-06-24 10:33:56 +02:00
should be good for now
This commit is contained in:
1
latest
1
latest
@ -1 +0,0 @@
|
||||
v5.1.0
|
6
main.py
6
main.py
@ -160,15 +160,15 @@ def check_update():
|
||||
except Exception as e :
|
||||
print(e)
|
||||
return ()
|
||||
f = open("./latest", 'r')
|
||||
f = open("./version", 'r')
|
||||
txt = f.readlines()[0].replace("\n","")
|
||||
f.close()
|
||||
if (txt == latest) :
|
||||
print("already up to date")
|
||||
print("Already up to date.")
|
||||
else :
|
||||
print(f"updating to {latest}")
|
||||
os.system("git pull")
|
||||
print(updated)
|
||||
print("updated")
|
||||
|
||||
|
||||
LogPath = config["PATH"]["logpath"]
|
||||
|
1
version
Normal file
1
version
Normal file
@ -0,0 +1 @@
|
||||
v5.1.1
|
Reference in New Issue
Block a user