File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed
Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,11 @@ ENTITLEMENTS="$PROJECT_ROOT/packaging/macos/distribution.entitlements"
8686
8787# Determine total steps based on options
8888if $NO_SIGN ; then
89- TOTAL_STEPS=6
89+ TOTAL_STEPS=5
9090elif $NOTARIZE ; then
91- TOTAL_STEPS=8
92- else
9391 TOTAL_STEPS=7
92+ else
93+ TOTAL_STEPS=6
9494fi
9595
9696echo " === Packaging VapourBox for macOS ($ARCH ) ==="
@@ -368,31 +368,19 @@ if $NOTARIZE && ! $NO_SIGN; then
368368 echo " Notarization complete"
369369fi
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-
382371echo " "
383372echo " === Packaging Complete ==="
384373echo " "
385374echo " App bundle: $APP_BUNDLE ($APP_SIZE )"
386375echo " DMG: $DMG_FILE ($DMG_SIZE )"
387- echo " Zip: $ZIP_FILE ($ZIP_SIZE )"
388376echo " "
389377echo " Note: Dependencies (~94 MB) will be downloaded on first run."
390378echo " "
391379echo " To install:"
392380echo " Open $DMG_FILE and drag VapourBox to Applications"
393381echo " "
394- echo " To distribute, share the zip file :"
395- echo " $ZIP_FILE "
382+ echo " To distribute, share the DMG :"
383+ echo " $DMG_FILE "
396384
397385if ! $NO_SIGN && ! $NOTARIZE ; then
398386 echo " "
You can’t perform that action at this time.
0 commit comments