diff --git a/py/VERSION b/py/VERSION index 5625e59..23aa839 100644 --- a/py/VERSION +++ b/py/VERSION @@ -1 +1 @@ -1.2 +1.2.2 diff --git a/py/init.py b/py/init.py index e0bf815..887d37b 100644 --- a/py/init.py +++ b/py/init.py @@ -1,5 +1,9 @@ import version +import sys +import os if version.local() < version.remote(): print("needs update") else: print("is fine") +if input("aaa") == "y": + os.execl(sys.executable, sys.executable, *sys.argv)