summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-07-08 09:38:06 +0200
committerRobert Honz <exislow+github@gmail.com>2025-07-08 09:38:06 +0200
commitb3c53ab396aa13af1fa6b163f87efbed3e8d7166 (patch)
tree3d4f3ffc2665650695c84680341f0cb5ec2785e1 /Makefile
parentf0bbbc010868f5d3a52d51fbc4e4bcbed647ad66 (diff)
downloadtidal-dl-ng-b3c53ab396aa13af1fa6b163f87efbed3e8d7166.tar.gz
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 326ec50..e835628 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \