mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +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:
parent
f4f0c77821
commit
a9ef736067
@ -232,16 +232,21 @@ elif sys.platform == 'win32':
|
|||||||
]
|
]
|
||||||
|
|
||||||
freeze(
|
freeze(
|
||||||
|
version_info={
|
||||||
|
'description': 'Downloads commodity market and other station data from the game Elite Dangerous for use with'
|
||||||
|
' all popular online and offline trading tools.',
|
||||||
|
'company_name': 'EDCD', # Used by WinSparkle
|
||||||
|
'product_name': appname, # Used by WinSparkle
|
||||||
|
'version': base_appversion,
|
||||||
|
'product_version': appversion_str,
|
||||||
|
'copyright': copyright,
|
||||||
|
'language': 'English (United States)',
|
||||||
|
},
|
||||||
windows=[
|
windows=[
|
||||||
{
|
{
|
||||||
'dest_base': appname,
|
'dest_base': appname,
|
||||||
'script': APP,
|
'script': APP,
|
||||||
'icon_resources': [(0, f'{appname}.ico')],
|
'icon_resources': [(0, f'{appname}.ico')],
|
||||||
'company_name': 'EDCD', # Used by WinSparkle
|
|
||||||
'product_name': appname, # Used by WinSparkle
|
|
||||||
'version': base_appversion,
|
|
||||||
'product_version': appversion_str,
|
|
||||||
'copyright': copyright,
|
|
||||||
'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())],
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user