Skip to content

Instantly share code, notes, and snippets.

@wkliwk
Last active March 10, 2026 20:30
Show Gist options
  • Select an option

  • Save wkliwk/7de8a89f60fa09e3c88869d8254298b8 to your computer and use it in GitHub Desktop.

Select an option

Save wkliwk/7de8a89f60fa09e3c88869d8254298b8 to your computer and use it in GitHub Desktop.

Revisions

  1. wkliwk renamed this gist Apr 22, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.txt → btt.sh
    Original file line number Diff line number Diff line change
    @@ -18,11 +18,11 @@ kill $(ps aux | grep 'BetterTouchTool' | awk '{print $2}')
    echo "Done"

    echo "uninstall BetterTouchTool"
    brew cask uninstall bettertouchtool
    brew uninstall --cask bettertouchtool
    echo "Done"

    echo "install BetterTouchTool"
    brew cask install bettertouchtool
    brew install --cask bettertouchtool
    echo "Done"

    echo "open BetterTouchTool"
  2. wkliwk created this gist Dec 14, 2018.
    30 changes: 30 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    # 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"