create .zip at build

This commit is contained in:
2025-10-10 11:13:25 +02:00
parent 9ad871da82
commit 2118487a7c
2 changed files with 14 additions and 1 deletions

View File

@@ -79,6 +79,18 @@ echo "Max 8 package: $MAX8_DIR"
echo "Max 9 package: $MAX9_DIR"
echo ""
# Create zip files
echo "Creating zip archives..."
cd "$DIST_DIR/Max 8"
zip -r "../../${PACKAGE_NAME}_Max8.zip" "$PACKAGE_NAME" -q
cd "../Max 9"
zip -r "../../${PACKAGE_NAME}_Max9.zip" "$PACKAGE_NAME" -q
cd ../..
echo "✓ Created ${PACKAGE_NAME}_Max8.zip"
echo "✓ Created ${PACKAGE_NAME}_Max9.zip"
echo ""
# Ask to install
read -p "Install to Max Packages folders (~/Documents/Max <8|9>/Packages)? (y/n) " -n 1 -r
echo