mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
Update paths
CURA-6867
This commit is contained in:
parent
36abfbf8bf
commit
2b12343cd2
2 changed files with 5 additions and 3 deletions
|
@ -20,12 +20,13 @@ def build_dmg(source_path: str, dist_path: str, filename: str) -> None:
|
|||
"--icon-size", "90",
|
||||
"--icon", "UltiMaker-Cura.app", "169", "272",
|
||||
"--eula", f"{source_path}/packaging/cura_license.txt",
|
||||
"--background", f"{source_path}/packaging/dmg/cura_background_dmg.png",
|
||||
"--background", f"{source_path}/packaging/MacOs/cura_background_dmg.png",
|
||||
f"{dist_path}/{filename}",
|
||||
f"{dist_path}/UltiMaker-Cura.app"]
|
||||
|
||||
subprocess.run(arguments)
|
||||
|
||||
|
||||
def build_pkg(source_path: str, dist_path: str, app_filename: str, component_filename: str, installer_filename: str) -> None:
|
||||
pkg_build_executable = os.environ.get("PKG_BUILD_EXECUTABLE", "pkgbuild")
|
||||
product_build_executable = os.environ.get("PRODUCT_BUILD_EXECUTABLE", "productbuild")
|
||||
|
@ -65,6 +66,7 @@ def build_pkg(source_path: str, dist_path: str, app_filename: str, component_fil
|
|||
print(f"installer_creation_arguments: {installer_creation_arguments}")
|
||||
subprocess.run(installer_creation_arguments)
|
||||
|
||||
|
||||
def code_sign(dist_path: str, filename: str) -> None:
|
||||
""" Sign a file using apple codesign. This uses a different certificate to package signing."""
|
||||
codesign_executable = os.environ.get("CODESIGN", "codesign")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue