#!/bin/bash zip -vr client.zip client/ # exclusive for mac with arm echo "$OSTYPE.$1" echo "-------------------------------------------" echo "** Make sure the network is accessiable to 10.11.77.50" if [[ $OSTYPE == "darwin"* ]]; then if [ $1 == "arm64e" ]; then ./upload-cli exit; fi else echo "[WARN] did not activate auto upload." fi echo "Activating upload binary client ..." ./uploadBinaryClient.sh