Skip to content

Instantly share code, notes, and snippets.

@mrasmus
Last active June 16, 2016 07:35
Show Gist options
  • Save mrasmus/b133ca537eff7c3ae175 to your computer and use it in GitHub Desktop.
Save mrasmus/b133ca537eff7c3ae175 to your computer and use it in GitHub Desktop.
WavTap Uninstaller
#!/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