mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Fix: Make GUIDs uppercase
See [1] [1] https://learn.microsoft.com/en-us/windows/win32/msi/guid
This commit is contained in:
parent
3fff16cc7e
commit
3db1ca1fbb
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ def build_data(base_path, path_prefix, dir_id, dir_name):
|
||||||
data["component_id"] = "ApplicationFiles"
|
data["component_id"] = "ApplicationFiles"
|
||||||
else:
|
else:
|
||||||
data["component_id"] = "Component" + dir_id
|
data["component_id"] = "Component" + dir_id
|
||||||
data["component_guid"] = str(uuid.uuid4())
|
data["component_guid"] = str(uuid.uuid4()).upper()
|
||||||
|
|
||||||
for entry in os.listdir(base_path):
|
for entry in os.listdir(base_path):
|
||||||
entry_path = os.path.join(base_path, entry)
|
entry_path = os.path.join(base_path, entry)
|
||||||
|
@ -118,7 +118,7 @@ def main():
|
||||||
"Package",
|
"Package",
|
||||||
Name="Dangerzone",
|
Name="Dangerzone",
|
||||||
Manufacturer="Freedom of the Press Foundation",
|
Manufacturer="Freedom of the Press Foundation",
|
||||||
UpgradeCode="12b9695c-965b-4be0-bc33-21274e809576",
|
UpgradeCode="12B9695C-965B-4BE0-BC33-21274E809576",
|
||||||
Language="1033",
|
Language="1033",
|
||||||
Compressed="yes",
|
Compressed="yes",
|
||||||
Codepage="1252",
|
Codepage="1252",
|
||||||
|
@ -181,7 +181,7 @@ def main():
|
||||||
programmenufolder_el,
|
programmenufolder_el,
|
||||||
"Component",
|
"Component",
|
||||||
Id="ApplicationShortcuts",
|
Id="ApplicationShortcuts",
|
||||||
Guid="539e7de8-a124-4c09-aa55-0dd516aad7bc",
|
Guid="539E7DE8-A124-4C09-AA55-0DD516AAD7BC",
|
||||||
)
|
)
|
||||||
ET.SubElement(
|
ET.SubElement(
|
||||||
shortcut_el,
|
shortcut_el,
|
||||||
|
|
Loading…
Reference in a new issue