From f67e707d7afc1c61ec36abdad72286089edec31d Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Thu, 2 Jul 2015 18:10:52 +0100 Subject: [PATCH] Make WinSparkle display description text with system font and size. --- setup.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index c1946881..b259c3f3 100755 --- a/setup.py +++ b/setup.py @@ -130,8 +130,8 @@ appcast.write(''' \t\t \t\t\tRelease {0} \t\t\t -\t\t\t\tRelease {0:.2f} +\t\t\t\tRelease {0:.2f}
@@ -145,4 +145,10 @@ appcast.write(''' \t\t\t\ttype="application/octet-stream" \t\t\t/> \t\t
-'''.format(float(SHORTVERSION)/100, SHORTVERSION, PKG, sys.platform=='darwin' and 'osx' or 'windows"\n\t\t\t\tsparkle:installerArguments="/passive', VERSION, os.stat(PKG).st_size, sys.platform=='darwin' and 2 or 3)) +'''.format(float(SHORTVERSION)/100, + SHORTVERSION, + PKG, + sys.platform=='win32' and 'windows"\n\t\t\t\tsparkle:installerArguments="/passive' or 'osx', + VERSION, + os.stat(PKG).st_size, + sys.platform=='win32' and '\n' or ''))