Created
June 27, 2020 20:22
-
-
Save rodchristiansen/2952af21e87f2cb7ae6bb709fd619b56 to your computer and use it in GitHub Desktop.
Script to remove Soundflower audio driver from macOS Catalina 10.15+
This file contains 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 | |
if [ -d /System/Library/Extensions/Soundflower.kext ]; then | |
sudo kextunload -q /System/Library/Extensions/Soundflower.kext | |
sudo rm -rf /System/Library/Extensions/Soundflower.kext | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment