#!/bin/sh
# Remove the macOS quarantine flag from downloaded azul files so
# Gatekeeper stops blocking them. Usage: sh unquarantine.sh <file>...
if [ $# -eq 0 ]; then echo "usage: sh unquarantine.sh <file>..."; exit 1; fi
for f in "$@"; do xattr -dr com.apple.quarantine "$f" && echo "un-quarantined: $f"; done
