mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Change: Update WiX schema namespace
Also rename `root_el` to `wix_el`. WiX version 5 uses the same namespace.
This commit is contained in:
parent
adddb1ecb7
commit
f349e16523
1 changed files with 5 additions and 4 deletions
|
@ -158,9 +158,10 @@ def main():
|
|||
)
|
||||
)
|
||||
|
||||
root_el = ET.Element("Wix", xmlns="http://schemas.microsoft.com/wix/2006/wi")
|
||||
# Add the Wix root element
|
||||
wix_el = ET.Element("Wix", xmlns="http://wixtoolset.org/schemas/v4/wxs")
|
||||
product_el = ET.SubElement(
|
||||
root_el,
|
||||
wix_el,
|
||||
"Product",
|
||||
Name="Dangerzone",
|
||||
Manufacturer="Freedom of the Press Foundation",
|
||||
|
@ -236,8 +237,8 @@ def main():
|
|||
|
||||
print(f'<?define ProductVersion = "{version}"?>')
|
||||
print('<?define ProductUpgradeCode = "12b9695c-965b-4be0-bc33-21274e809576"?>')
|
||||
ET.indent(root_el, space=" ")
|
||||
print(ET.tostring(root_el).decode())
|
||||
ET.indent(wix_el, space=" ")
|
||||
print(ET.tostring(wix_el).decode())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in a new issue