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.
This commit is contained in:
@@ -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 ..
|
||||
|
||||
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user