fix(makefile): 🐛 Remove gui-macos-dmg-intel target and related commands

* Eliminated the `gui-macos-dmg-intel` target from the Makefile.
* This target was a workaround for Intel Macs and is no longer necessary.
* Streamlined the `gui-macos-dmg` process for better clarity and maintenance.
This commit is contained in:
Robert Honz
2025-07-08 09:57:33 +02:00
parent b3c53ab396
commit 7d60950613
-13
View File
@@ -97,16 +97,3 @@ gui-macos-dmg: gui ## Package GUI in a *.dmg file
--filesystem APFS \ --filesystem APFS \
"$(app_path_dist)/$(APP_NAME).dmg" \ "$(app_path_dist)/$(APP_NAME).dmg" \
"$(app_path_dist)/$(DMG_NAME)/" "$(app_path_dist)/$(DMG_NAME)/"
.PHONY: gui-macos-dmg-intel
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 sleep 60
@poetry run /usr/bin/sudo hdiutil create -debug -volname "$(APP_NAME)" \
-srcfolder "$(app_path_dist)/$(DMG_NAME)/" \
-ov -format UDZO \
-fs APFS \
"$(app_path_dist)/$(APP_NAME).dmg"
.DEFAULT_GOAL := help