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:
@@ -85,7 +85,7 @@ gui-macos-dmg: gui ## Package GUI in a *.dmg file
|
|||||||
@poetry run mkdir -p $(app_path_dist)/dmg
|
@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 mv "$(app_path_dist)/$(APP_BUNDLE_NAME).app" "$(app_path_dist)/$(DMG_NAME)/$(APP_NAME).app"
|
||||||
@poetry run sleep 60
|
@poetry run sleep 60
|
||||||
@poetry run create-dmg \
|
@poetry run /usr/bin/sudo create-dmg \
|
||||||
--volname "$(APP_NAME)" \
|
--volname "$(APP_NAME)" \
|
||||||
--volicon "$(path_asset)/icon.icns" \
|
--volicon "$(path_asset)/icon.icns" \
|
||||||
--window-pos 200 120 \
|
--window-pos 200 120 \
|
||||||
|
|||||||
Reference in New Issue
Block a user