3 ms·
Probably the simplest thing then would be to alias brew install to something like spctl —master-disable; brew install $1; spctl —master-enable
by setr 6y ago
Probably the simplest thing then would be to alias brew install to something like spctl —master-disable; brew install $1; spctl —master-enable
- Wowfunhappy 6y ago`spctl --master-disable` requires root permissions (sudo). You could edit sudoers so the command doesn't require a password. But really, at that point I'd just leave Gatekeeper off.