From 288286f21ef2ec5d5c950250f7d2b49da930b7bd Mon Sep 17 00:00:00 2001 From: Abdulqadir Ahmad <2004a3abuahmad@gmail.com> Date: Tue, 30 May 2023 09:26:29 +0100 Subject: [PATCH] now tw blue doesn't ask for updates when running from source --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 5610cd47..1a5af71e 100644 --- a/src/main.py +++ b/src/main.py @@ -71,7 +71,7 @@ def setup(): check_pid() if config.app["app-settings"]["donation_dialog_displayed"] == False: donation() - if config.app['app-settings']['check_for_updates']: + if config.app['app-settings']['check_for_updates'] and getattr(sys, 'frozen', False): updater.do_update() sm = sessionManager.sessionManagerController() sm.fill_list()