Skip to content

Commit 0c94422

Browse files
committed
Make the update process not "crash"
1 parent 0c65ecb commit 0c94422

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

PyOverlay.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

33
# VERSION variable MUST be on the 4th line always
4-
VERSION = 1.25
4+
VERSION = 1.26
55

66
try: # installing and importing all the needed packages
77
import math
@@ -924,7 +924,10 @@ def register_launch():
924924
with open("PyOverlay.py", "w") as f:
925925
f.write(latest_py_overlay)
926926
print("Update complete! Please re-run PyOverlay")
927+
input()
927928
sys.exit(0)
929+
else:
930+
print("Ignoring update. ")
928931

929932
mc_log_path = str(Pathlib.home())
930933
client = ""

0 commit comments

Comments
 (0)