Change: Swap Media element with MediaTemplate

This is a new default and makes authoring slightly simpler without any functional changes.
This commit is contained in:
JKarasti 2024-09-23 21:23:20 +03:00 committed by Alex Pyrgiotis
parent 4eadc30605
commit ccb302462d
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -141,7 +141,7 @@ def main():
Description="Dangerzone $(var.ProductVersion) Installer", Description="Dangerzone $(var.ProductVersion) Installer",
Codepage="1252", Codepage="1252",
) )
ET.SubElement(package_el, "Media", Id="1", Cabinet="product.cab", EmbedCab="yes") ET.SubElement(package_el, "MediaTemplate", EmbedCab="yes")
ET.SubElement( ET.SubElement(
package_el, "Icon", Id="ProductIcon", SourceFile="..\\share\\dangerzone.ico" package_el, "Icon", Id="ProductIcon", SourceFile="..\\share\\dangerzone.ico"
) )