diff --git a/scripts/package-mac-dist.sh b/scripts/package-mac-dist.sh index 8ea373a8b..1cc17f1da 100755 --- a/scripts/package-mac-dist.sh +++ b/scripts/package-mac-dist.sh @@ -10,6 +10,9 @@ set -euo pipefail ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" +# Default to universal binary for distribution builds (supports both Apple Silicon and Intel Macs) +export BUILD_ARCHS="${BUILD_ARCHS:-all}" + "$ROOT_DIR/scripts/package-mac-app.sh" APP="$ROOT_DIR/dist/Clawdbot.app"