summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-07-03 23:45:21 +0200
committerRobert Honz <exislow+github@gmail.com>2025-07-03 23:45:21 +0200
commitae17fab0574f5f9b5a625a61fe13c6a9c917d9af (patch)
tree2d191b00a96795d8aace7cb81cacd270d7d5f53f /Makefile
parent0e7dda562219ce656f67d2a70a7bd5af6d89f335 (diff)
downloadtidal-dl-ng-ae17fab0574f5f9b5a625a61fe13c6a9c917d9af.tar.gz
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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 \