We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f7938b + e205cd1 commit ca8b831Copy full SHA for ca8b831
keyauth.py
@@ -60,6 +60,16 @@ def init(self):
60
61
response = encryption.decrypt(response, self.secret, init_iv)
62
json = jsond.loads(response)
63
+
64
+ if json["message"] == "invalidver":
65
+ if json["download"] != "":
66
+ print("New Version Available")
67
+ download_link = json["download"]
68
+ os.system(f"start {download_link}")
69
+ sys.exit()
70
+ else:
71
+ print("Invalid Version, Contact owner to add download link to latest app version")
72
73
74
if not json["success"]:
75
print(json["message"])
0 commit comments