fix(makefile): 🐛 Update gui-macos-dmg command to use sudo for create-dmg

* Changed the command to run `create-dmg` with `sudo` to ensure proper permissions on macOS.
* Added a sleep delay of 60 seconds to allow for any necessary processing time.
This commit is contained in:
Robert Honz
2025-07-08 09:38:06 +02:00
parent f0bbbc0108
commit b3c53ab396
+1 -1
View File
@@ -85,7 +85,7 @@ gui-macos-dmg: gui ## Package GUI in a *.dmg file
@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 create-dmg \
@poetry run /usr/bin/sudo create-dmg \
--volname "$(APP_NAME)" \
--volicon "$(path_asset)/icon.icns" \
--window-pos 200 120 \