Last active
June 16, 2016 07:35
-
-
Save mrasmus/b133ca537eff7c3ae175 to your computer and use it in GitHub Desktop.
WavTap Uninstaller
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 | |
# Because WavTap (https://github.com/pje/wavtap) doesn't come with a straightforward way to do it. :\ | |
# Must be run elevated. Mirrors what "make uninstall" does exactly as of June 24, 2014. | |
osascript -e 'tell application "WavTap"' -e 'quit' -e 'end tell' | |
rm -rf /Applications/WavTap.app | |
if [[ "$(kextstat | grep WavTap | grep -v grep)" ]]; then sudo kextunload /System/Library/Extensions/WavTap.kext; fi | |
rm -rf /System/Library/Extensions/WavTap.kext | |
rm -rf /Library/Receipts/WavTap* | |
rm -rf /var/db/receipts/*WavTap.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment