summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-07-04 00:02:41 +0200
committerRobert Honz <exislow+github@gmail.com>2025-07-04 00:02:41 +0200
commitf0bbbc010868f5d3a52d51fbc4e4bcbed647ad66 (patch)
treee5ff1650fa160bf256b78e83d2a4ee081cccd232
parentae17fab0574f5f9b5a625a61fe13c6a9c917d9af (diff)
downloadtidal-dl-ng-f0bbbc010868f5d3a52d51fbc4e4bcbed647ad66.tar.gz
fix(gui): 🐛 Correct `make gui-macos-dmg` command and add delay
* 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.
-rw-r--r--.github/workflows/release-or-test-build.yml2
-rw-r--r--Makefile1
2 files changed, 2 insertions, 1 deletions
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" \