chore(workflow): 🚀 Update GUI packaging process for macOS

* Added a sleep command before creating the `.dmg` file to ensure proper execution.
* Modified the `hdiutil create` command to include `-debug` for troubleshooting.
This commit is contained in:
Robert Honz
2025-07-03 23:45:21 +02:00
parent 0e7dda5622
commit ae17fab057
2 changed files with 50 additions and 49 deletions
+2 -1
View File
@@ -101,7 +101,8 @@ gui-macos-dmg: gui ## Package GUI in a *.dmg file
gui-macos-dmg-intel: gui ## Package GUI in a *.dmg file; Workaround for Intel Macs, since Apple Script permissions are not set correctly on GitHub Actiion Runner images
@poetry run mkdir -p $(app_path_dist)/dmg
@poetry run mv "$(app_path_dist)/$(APP_BUNDLE_NAME).app" "$(app_path_dist)/$(DMG_NAME)/$(APP_NAME).app"
@poetry run hdiutil create -volname "$(APP_NAME)" \
@poetry run sleep 60
@poetry run /usr/bin/sudo hdiutil create -debug -volname "$(APP_NAME)" \
-srcfolder "$(app_path_dist)/$(DMG_NAME)/" \
-ov -format UDZO \
-fs APFS \