Update build_macos.py

This commit is contained in:
Joey de l'Arago 2022-12-20 16:27:26 +01:00 committed by GitHub
parent 0ae24cb669
commit 337b25b954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,9 +72,6 @@ def build_pkg(source_path: str, dist_path: str, app_filename: str, component_fil
]
subprocess.run(installer_creation_arguments)
# Remove component package so that it is not added to the output zip file
os.remove(f"{dist_path}/{component_filename}")
def code_sign(dist_path: str, filename: str) -> None:
""" Sign a file using apple codesign. This uses a different certificate to package signing."""