diff --git a/latest b/latest deleted file mode 100644 index 6b7ace3..0000000 --- a/latest +++ /dev/null @@ -1 +0,0 @@ -v5.1.0 diff --git a/main.py b/main.py index f89849b..37953fc 100644 --- a/main.py +++ b/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"] diff --git a/version b/version new file mode 100644 index 0000000..346d9ca --- /dev/null +++ b/version @@ -0,0 +1 @@ +v5.1.1