mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 03:08:29 +02:00
fixed updater
This commit is contained in:
parent
220d8bf2a6
commit
2388c9849d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def check_update(self):
|
|||
with open("version", "rb") as f:
|
||||
locversion = json.load(f)
|
||||
|
||||
if gitversion["version"] > locversion["version"]:
|
||||
if float(gitversion["version"]) > float(locversion["version"]):
|
||||
if messagebox.askyesno(self.translate("Mise à jour disponible !"), self.translate("Une mise à jour est disponible, souhaitez-vous l'installer ?") +
|
||||
f"\n\nVersion : {locversion['version']}.{locversion['subversion']} -> {gitversion['version']}.{gitversion['subversion']}\n"+\
|
||||
f"Changelog :\n{gitversion['changelog']}"):
|
||||
|
|
Loading…
Reference in a new issue