mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-08 19:32:15 +03:00
setup.py: Reformat appcast style multi-line
This commit is contained in:
parent
a6779d7292
commit
a8313e3661
13
setup.py
13
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')
|
appcast = open(f'appcast_{sys.platform == "darwin" and "mac" or "win"}_{appversion}.xml', 'w')
|
||||||
|
|
||||||
if sys.platform == 'win32':
|
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'
|
package_os = 'windows"\n\t\t\t\tsparkle:installerArguments="/passive LAUNCH=yes'
|
||||||
|
|
||||||
elif sys.platform == 'darwin':
|
elif sys.platform == 'darwin':
|
||||||
@ -335,5 +343,4 @@ appcast.write(f'''
|
|||||||
\t\t\t\ttype="application/octet-stream"
|
\t\t\t\ttype="application/octet-stream"
|
||||||
\t\t\t/>
|
\t\t\t/>
|
||||||
\t\t</item>
|
\t\t</item>
|
||||||
'''
|
''')
|
||||||
)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user