From f0bbbc010868f5d3a52d51fbc4e4bcbed647ad66 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 4 Jul 2025 00:02:41 +0200 Subject: [PATCH] =?UTF-8?q?fix(gui):=20=F0=9F=90=9B=20Correct=20`make=20gu?= =?UTF-8?q?i-macos-dmg`=20command=20and=20add=20delay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated the command to `make gui-macos-dmg` for proper packaging. * Introduced a 60-second delay before creating the DMG to ensure all processes are completed. --- .github/workflows/release-or-test-build.yml | 2 +- Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-or-test-build.yml b/.github/workflows/release-or-test-build.yml index cfa8784..0e102b7 100644 --- a/.github/workflows/release-or-test-build.yml +++ b/.github/workflows/release-or-test-build.yml @@ -103,7 +103,7 @@ jobs: CMD_BUILD: > brew install create-dmg && source $VENV && - poetry run make gui-macos-dmg-intel APP_NAME=${{needs.compute.outputs.OUT_NAME_FILE}} && + poetry run make gui-macos-dmg APP_NAME=${{needs.compute.outputs.OUT_NAME_FILE}} && cd dist && zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}_${{needs.compute.outputs.ARCH_MACOS_X64}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg -x "*.DS_Store" && cd .. diff --git a/Makefile b/Makefile index 07fc9b0..326ec50 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,7 @@ gui-linux: gui ## Build GUI app 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 \ --volname "$(APP_NAME)" \ --volicon "$(path_asset)/icon.icns" \