#!/usr/bin/env bash set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)" cd "${REPO_ROOT}" echo "Building 5ET-D for macOS arm64..." echo "Working directory: ${REPO_ROOT}" npm ci npm run dist:mac:arm64 echo "Done. Check the release/ directory for the macOS arm64 artifact."