From 80e2aee6bb3193b686f7f8e451b22c046e7dc8d3 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 30 Dec 2022 18:17:01 +0000 Subject: [PATCH] updates: Add comment about 'early' `import update` working after all Tested both under PyCharm debugging for 'internal', and py2exe-build .exe for 'external'. In both cases the 'Help' > 'Check for updates...' works. --- EDMarketConnector.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 9164a28c..fd5bcd5b 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -593,7 +593,9 @@ class AppWindow(object): sys.platform != 'win32' or isinstance(child, tk.Frame)) and 2 or 0) self.menubar = tk.Menu() - # Load updater after UI creation (for WinSparkle) + + # This used to be *after* the menu setup for some reason, but is testing + # as working (both internal and external) like this. -Ath import update if getattr(sys, 'frozen', False):