Mac: Gatekeeper via the command line
Add Gatekeeper Exception:
spctl --add /path/to/Application.app
Remove Gatekeeper Exception:
spctl --remove /path/to/Application.app
Manage Gatekeeper:
# Status
spctl --status
# Enable (Default)
sudo spctl --master-enable
# Disable
sudo spctl --master-disable
Leave a comment