1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-08 03:12:33 +03:00

Build: Use version_info for DRYness

* Adds `language` so that WiX is happy.  Hard-coded to "English (United
  States)".
* Also adds `description` (same as the GitHub repo).
This commit is contained in:
Athanasius 2022-09-23 11:32:39 +01:00
parent f4f0c77821
commit a9ef736067
No known key found for this signature in database
GPG Key ID: 8C392035DD80FD62

View File

@ -232,16 +232,21 @@ elif sys.platform == 'win32':
] ]
freeze( freeze(
windows=[ version_info={
{ 'description': 'Downloads commodity market and other station data from the game Elite Dangerous for use with'
'dest_base': appname, ' all popular online and offline trading tools.',
'script': APP,
'icon_resources': [(0, f'{appname}.ico')],
'company_name': 'EDCD', # Used by WinSparkle 'company_name': 'EDCD', # Used by WinSparkle
'product_name': appname, # Used by WinSparkle 'product_name': appname, # Used by WinSparkle
'version': base_appversion, 'version': base_appversion,
'product_version': appversion_str, 'product_version': appversion_str,
'copyright': copyright, 'copyright': copyright,
'language': 'English (United States)',
},
windows=[
{
'dest_base': appname,
'script': APP,
'icon_resources': [(0, f'{appname}.ico')],
'other_resources': [(24, 1, open(f'{appname}.manifest').read())], 'other_resources': [(24, 1, open(f'{appname}.manifest').read())],
} }
], ],
@ -249,11 +254,6 @@ freeze(
{ {
'dest_base': appcmdname, 'dest_base': appcmdname,
'script': APPCMD, 'script': APPCMD,
'company_name': 'EDCD',
'product_name': appname,
'version': base_appversion,
'product_version': appversion_str,
'copyright': copyright,
'other_resources': [(24, 1, open(f'{appcmdname}.manifest').read())], 'other_resources': [(24, 1, open(f'{appcmdname}.manifest').read())],
} }
], ],