now tw blue doesn't ask for updates when running from source

This commit is contained in:
Abdulqadir Ahmad 2023-05-30 09:26:29 +01:00
parent 6bd0161818
commit 288286f21e

View File

@ -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()