Skip to content

Commit c36f008

Browse files
Remove zip packaging step from macOS build
The DMG is the distribution artifact; wrapping it in a zip is unnecessary. Updated step counts accordingly.
1 parent 3bf0fc1 commit c36f008

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

Scripts/package-macos.sh

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ ENTITLEMENTS="$PROJECT_ROOT/packaging/macos/distribution.entitlements"
8686

8787
# Determine total steps based on options
8888
if $NO_SIGN; then
89-
TOTAL_STEPS=6
89+
TOTAL_STEPS=5
9090
elif $NOTARIZE; then
91-
TOTAL_STEPS=8
92-
else
9391
TOTAL_STEPS=7
92+
else
93+
TOTAL_STEPS=6
9494
fi
9595

9696
echo "=== Packaging VapourBox for macOS ($ARCH) ==="
@@ -368,31 +368,19 @@ if $NOTARIZE && ! $NO_SIGN; then
368368
echo " Notarization complete"
369369
fi
370370

371-
# Create zip containing the DMG
372-
STEP=$((STEP + 1))
373-
ZIP_FILE="$DIST_DIR/$DMG_NAME.zip"
374-
echo ""
375-
echo "[$STEP/$TOTAL_STEPS] Creating zip archive..."
376-
rm -f "$ZIP_FILE"
377-
cd "$DIST_DIR"
378-
zip -q "$ZIP_FILE" "$(basename "$DMG_FILE")"
379-
ZIP_SIZE=$(du -sh "$ZIP_FILE" | cut -f1)
380-
echo " Zip file: $ZIP_FILE ($ZIP_SIZE)"
381-
382371
echo ""
383372
echo "=== Packaging Complete ==="
384373
echo ""
385374
echo " App bundle: $APP_BUNDLE ($APP_SIZE)"
386375
echo " DMG: $DMG_FILE ($DMG_SIZE)"
387-
echo " Zip: $ZIP_FILE ($ZIP_SIZE)"
388376
echo ""
389377
echo "Note: Dependencies (~94 MB) will be downloaded on first run."
390378
echo ""
391379
echo "To install:"
392380
echo " Open $DMG_FILE and drag VapourBox to Applications"
393381
echo ""
394-
echo "To distribute, share the zip file:"
395-
echo " $ZIP_FILE"
382+
echo "To distribute, share the DMG:"
383+
echo " $DMG_FILE"
396384

397385
if ! $NO_SIGN && ! $NOTARIZE; then
398386
echo ""

0 commit comments

Comments
 (0)