mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Delete the .tar after compressing in Windows, and fix Windows installer
This commit is contained in:
parent
a36599b798
commit
387a742487
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
import subprocess
|
import subprocess
|
||||||
import gzip
|
import gzip
|
||||||
|
import os
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -36,6 +37,8 @@ def main():
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
os.remove("share/dangerzone-converter.tar")
|
||||||
|
|
||||||
print("Looking up the image id")
|
print("Looking up the image id")
|
||||||
image_id = subprocess.check_output(
|
image_id = subprocess.check_output(
|
||||||
[
|
[
|
||||||
|
|
|
@ -222,6 +222,7 @@ def main():
|
||||||
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.dump(root_el)
|
ET.dump(root_el)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue