From b3c53ab396aa13af1fa6b163f87efbed3e8d7166 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Tue, 8 Jul 2025 09:38:06 +0200 Subject: [PATCH] =?UTF-8?q?fix(makefile):=20=F0=9F=90=9B=20Update=20`gui-m?= =?UTF-8?q?acos-dmg`=20command=20to=20use=20sudo=20for=20`create-dmg`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \