mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Display commands of package creation
This commit is contained in:
parent
8d332f5bcc
commit
dfbc17a745
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,7 @@ def build_pkg(dist_path: str, app_filename: str, component_filename: str, cura_v
|
|||
else:
|
||||
print("CODESIGN_IDENTITY missing. The installer is not being signed")
|
||||
|
||||
print(f"Run package build command [{" ".join(pkg_build_arguments)}]")
|
||||
subprocess.run(pkg_build_arguments)
|
||||
|
||||
# This automatically generates a distribution.xml file that is used to build the installer.
|
||||
|
@ -67,6 +68,7 @@ def build_pkg(dist_path: str, app_filename: str, component_filename: str, cura_v
|
|||
"--package", Path(dist_path, component_filename), # Package that will be inside installer
|
||||
Path(dist_path, "distribution.xml"), # Output location for sythesized distributions file
|
||||
]
|
||||
print(f"Run distribution creation command [{" ".join(distribution_creation_arguments)}]")
|
||||
subprocess.run(distribution_creation_arguments)
|
||||
|
||||
# This creates the distributable package (Installer)
|
||||
|
@ -80,6 +82,7 @@ def build_pkg(dist_path: str, app_filename: str, component_filename: str, cura_v
|
|||
if codesign_identity:
|
||||
installer_creation_arguments.extend(["--sign", codesign_identity])
|
||||
|
||||
print(f"Run installer creation command [{" ".join(installer_creation_arguments)}]")
|
||||
subprocess.run(installer_creation_arguments)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue