From a8313e3661447bd045ffcadaaa1c498a4ce61332 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 8 Oct 2020 13:19:15 +0100 Subject: [PATCH] setup.py: Reformat appcast style multi-line --- setup.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 8ddf4d32..38e54231 100755 --- a/setup.py +++ b/setup.py @@ -303,7 +303,15 @@ if not exists(package_filename): appcast = open(f'appcast_{sys.platform == "darwin" and "mac" or "win"}_{appversion}.xml', 'w') if sys.platform == 'win32': - style = 'body { font-family:"Segoe UI","Tahoma"; font-size: 75%; } h2 { font-family:"Segoe UI","Tahoma"; font-size: 105%; }' + style = '''body { + font-family:"Segoe UI","Tahoma"; + font-size: 75%; +} +h2 { + font-family:"Segoe UI","Tahoma"; + font-size: 105%; +} +''' package_os = 'windows"\n\t\t\t\tsparkle:installerArguments="/passive LAUNCH=yes' elif sys.platform == 'darwin': @@ -335,5 +343,4 @@ appcast.write(f''' \t\t\t\ttype="application/octet-stream" \t\t\t/> \t\t -''' -) +''')