mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Fix: Make generated WiX authoring pass WixCop checks
WixCop.exe is a built in formatting tool that comes with WiX toolset v3. This fixes `wix convert` command not beins able to run
This commit is contained in:
parent
3bcf5fc147
commit
8e57d81a74
1 changed files with 2 additions and 2 deletions
|
@ -234,10 +234,10 @@ def main():
|
||||||
ET.SubElement(feature_el, "ComponentRef", Id=component_id)
|
ET.SubElement(feature_el, "ComponentRef", Id=component_id)
|
||||||
ET.SubElement(feature_el, "ComponentRef", Id="ApplicationShortcuts")
|
ET.SubElement(feature_el, "ComponentRef", Id="ApplicationShortcuts")
|
||||||
|
|
||||||
print('<?xml version="1.0" encoding="windows-1252"?>')
|
print('<?xml version="1.0" encoding="utf-8"?>')
|
||||||
print(f'<?define ProductVersion = "{version}"?>')
|
print(f'<?define ProductVersion = "{version}"?>')
|
||||||
print('<?define ProductUpgradeCode = "12b9695c-965b-4be0-bc33-21274e809576"?>')
|
print('<?define ProductUpgradeCode = "12b9695c-965b-4be0-bc33-21274e809576"?>')
|
||||||
ET.indent(root_el)
|
ET.indent(root_el, space=" ")
|
||||||
print(ET.tostring(root_el).decode())
|
print(ET.tostring(root_el).decode())
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue