Skip to content

Instantly share code, notes, and snippets.

@128keaton
Created January 28, 2021 04:46
Show Gist options
  • Save 128keaton/341d74b6e2efba7c84876a55bf9c6e90 to your computer and use it in GitHub Desktop.
Save 128keaton/341d74b6e2efba7c84876a55bf9c6e90 to your computer and use it in GitHub Desktop.
Mac scripts for disabling nanny stuff, automating setup, etc.
#!/bin/bash
#### DISABLE SECURITY STUFF
### DISK IMAGE VERIFICIATION
# https://apple.stackexchange.com/questions/370202/how-do-i-skip-verification-of-a-dmg-file
# Disable the "Are you sure you want to open this application?" dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
# Disable Disk Image Verification: Verifying ...
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment