From ae17fab0574f5f9b5a625a61fe13c6a9c917d9af Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Thu, 3 Jul 2025 23:45:21 +0200 Subject: chore(workflow): 🚀 Update GUI packaging process for macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added a sleep command before creating the `.dmg` file to ensure proper execution. * Modified the `hdiutil create` command to include `-debug` for troubleshooting. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d61624b..07fc9b0 100644 --- a/Makefile +++ b/Makefile @@ -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 \ -- cgit v1.3.1