1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

Technically could still be frozen with darwin and thus non-Win Sparkle

This commit is contained in:
Athanasius 2020-07-18 16:49:32 +01:00
parent 35f573bc14
commit 4435bb004a

View File

@ -284,7 +284,7 @@ class AppWindow(object):
# Load updater after UI creation (for WinSparkle)
import update
if getattr(sys, 'frozen', False):
# Running in frozen .exe, so use WinSparkle
# Running in frozen .exe, so use (Win)Sparkle
self.updater = update.Updater(tkroot=self.w, provider='external')
else:
self.updater = update.Updater(tkroot=self.w, provider='internal')