Skip to content

Instantly share code, notes, and snippets.

@wkliwk
Last active March 30, 2024 15:22
Show Gist options
  • Star 36 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save wkliwk/7de8a89f60fa09e3c88869d8254298b8 to your computer and use it in GitHub Desktop.
Save wkliwk/7de8a89f60fa09e3c88869d8254298b8 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 uninstall --cask bettertouchtool
echo "Done"
echo "install BetterTouchTool"
brew install --cask bettertouchtool
echo "Done"
echo "open BetterTouchTool"
open -a BetterTouchTool
echo "Done"
@CloudDotTech
Copy link

It works very well, Thank you

@CloudDotTech
Copy link

I wonder if can write code not using "cask"?

@mikeoxmaul69
Copy link

How do we execute this? Terminal?

@rs16w
Copy link

rs16w commented Oct 9, 2022

How do we execute this? Terminal?

go to the folder and enter source btt.sh

@help162
Copy link

help162 commented Jun 6, 2023

How do we execute this? Terminal?

go to the folder and enter source btt.sh

What folder do I go to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment