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
#!/bin/bash | |
# Clears the SIP protected folder where Soundflower will be loaded by the system | |
sudo kextcache --clear-staging | |
if [ -d /Library/Extensions/Soundflower.kext ]; then | |
sudo kextunload -q /Library/Extensions/Soundflower.kext | |
sudo rm -rf /Library/Extensions/Soundflower.kext | |
fi |