Browse Source

Add osx_bundle_identifier

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
87a521159e
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Ultimaker-Cura.spec.jinja
  2. 1 0
      conanfile.py

+ 1 - 0
Ultimaker-Cura.spec.jinja

@@ -46,6 +46,7 @@ exe = EXE(
     target_arch=None,
     codesign_identity=os.getenv('CODESIGN_IDENTITY', None),
     entitlements_file={{ entitlements_file }},
+    bundle_identifier='{{ osx_bundle_identifier }}'
     icon='{{ icon }}'
 )
 coll = COLLECT(

+ 1 - 0
conanfile.py

@@ -189,6 +189,7 @@ class CuraConan(ConanFile):
                 collect_all = pyinstaller_metadata["collect_all"],
                 icon = icon_path,
                 entitlements_file = entitlements_file,
+                osx_bundle_identifier = "nl.ultimaker.cura.dmg" if self.settings.os == "Macos" else "None",
                 upx = str(self.settings.os == "Windows")
             ))