Created
April 3, 2016 21:50
-
-
Save christopher-baek/b2835e5a7c98cd9c9651cf3dd24efabb to your computer and use it in GitHub Desktop.
Mac Gatekeeper CLI Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# APP should be path to Application.app directory | |
spctl --add ${APP} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spctl --master-disable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spctl --master-enable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# APP should be path to Application.app directory | |
spctl --remove ${APP} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment