Skip to content

Instantly share code, notes, and snippets.

@MaxBaranowski
Forked from wkliwk/btt.sh
Created April 10, 2021 16:42
Show Gist options
  • Save MaxBaranowski/a4dc7179e8b15253647b20d76d8cd8b8 to your computer and use it in GitHub Desktop.
Save MaxBaranowski/a4dc7179e8b15253647b20d76d8cd8b8 to your computer and use it in GitHub Desktop.
BTT reset trial time
# BetterTouchTool reset trial time
# ** All preference will reset
echo "remove ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist"
rm -rf ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist
echo "Done"
echo "remove ~/Library/Application\ Support/BetterTouchTool/"
rm -rf ~/Library/Application\ Support/BetterTouchTool/
echo "Done"
echo "remove /Applications/BetterTouchTool.app"
rm -rf /Applications/BetterTouchTool.app
echo "Done"
echo "kill BetterTouchTool"
kill $(ps aux | grep 'BetterTouchTool' | awk '{print $2}')
echo "Done"
echo "uninstall BetterTouchTool"
brew cask uninstall bettertouchtool
echo "Done"
echo "install BetterTouchTool"
brew cask install bettertouchtool
echo "Done"
echo "open BetterTouchTool"
open -a BetterTouchTool
echo "Done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment