diff --git a/main.py b/main.py index 284f24e..6973a1f 100644 --- a/main.py +++ b/main.py @@ -31,14 +31,13 @@ def main() -> int: # Connecter le signal finished pour afficher la fenêtre principale et vérifier les mises à jour def show_main_window(): - splash.close() if update_manager.check_for_update(): return 0 window.show() splash.finished.connect(show_main_window) else: - # Pas de splash screen, afficher directement la fenêtre principale et vérifier les mises à jour + # Pas de splash screen, vérifier les mises à jour puis afficher la fenêtre principale if update_manager.check_for_update(): return 0 window.show()