Skip to content

Instantly share code, notes, and snippets.

@ShikiSuen
Last active September 8, 2020 09:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
##### やったあと再起動をお忘れずに。 #####
##### REQUIRES REBOOT TO TAKE EFFECT #####
##### Stop Rechecking Application and DMG hashes #####
##### アプリ・DMGの完全性検査を自動的にやらないこと #####
defaults write com.apple.LaunchServices LSQuarantine -bool NO
##### Whitelist VSTs / AUs #####
##### 全部 VST・AU プラグインを「安全検査済」と表記する #####
sudo find /Library/Audio/Plug-Ins/VST/ -iname "*.vst/" -exec xattr -rd com.apple.quarantine '{}' \;
sudo find /Library/Audio/Plug-Ins/VST3/ -iname "*.vst3/" -exec xattr -rd com.apple.quarantine '{}' \;
sudo find /Library/Audio/Plug-Ins/Components/ -iname "*.component/" -exec xattr -rd com.apple.quarantine '{}' \;
##### Whitelist Input Methods #####
##### 入力方法を「安全検査済」と表記する #####
sudo find "/Library/Input Methods/" -iname "*.app/" -exec xattr -rd com.apple.quarantine '{}' \;
##### Whitelist Applications in "/Applications/" #####
##### 「/Applications/」にある全部アプリを「安全検査済」と表記する #####
sudo find "/Applications/" -iname "*.app/" -exec xattr -rd com.apple.quarantine '{}' \;
##### Whitelist Applications in "~/Applications/" #####
##### 「~/Applications/」にある全部アプリを「安全検査済」と表記する #####
find ~/Applications -iname "*.app/" -exec sudo xattr -rd com.apple.quarantine '{}' \;
##### Whitelist CrossOver and its bottle contents #####
##### CrossOver とそこにある全部 Windows アプリを「安全検査済」と表記する #####
find ~/Library/Application\ Support/CrossOver/ -iname "*.exe/" -exec sudo xattr -rd com.apple.quarantine '{}' \;
find ~/Library/Application\ Support/CrossOver/ -iname "*.dll/" -exec sudo xattr -rd com.apple.quarantine '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment