mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-05-12 15:46:29 +02:00
should be good for now
This commit is contained in:
parent
9995bc8e25
commit
0588180dda
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 :
|
except Exception as e :
|
||||||
print(e)
|
print(e)
|
||||||
return ()
|
return ()
|
||||||
f = open("./latest", 'r')
|
f = open("./version", 'r')
|
||||||
txt = f.readlines()[0].replace("\n","")
|
txt = f.readlines()[0].replace("\n","")
|
||||||
f.close()
|
f.close()
|
||||||
if (txt == latest) :
|
if (txt == latest) :
|
||||||
print("already up to date")
|
print("Already up to date.")
|
||||||
else :
|
else :
|
||||||
print(f"updating to {latest}")
|
print(f"updating to {latest}")
|
||||||
os.system("git pull")
|
os.system("git pull")
|
||||||
print(updated)
|
print("updated")
|
||||||
|
|
||||||
|
|
||||||
LogPath = config["PATH"]["logpath"]
|
LogPath = config["PATH"]["logpath"]
|
||||||
|
1
version
Normal file
1
version
Normal file
@ -0,0 +1 @@
|
|||||||
|
v5.1.1
|
Loading…
x
Reference in New Issue
Block a user