Last active
August 29, 2015 14:18
-
-
Save distributedlock/958679654b9ac179a23b to your computer and use it in GitHub Desktop.
RemoveAllBlizzardFiles.sh
This file contains hidden or 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
#!/usr/bin/env bash | |
rm -rf /Applications/Battle.net* | |
rm -rf ~/Library/Application\ Support/Blizzard/ | |
rm -rf ~/Library/Application\ Support/Battle.net/ | |
rm -rf ~/Library/Preferences/com.blizzard* | |
rm -rf ~/Library/Preferences/net.battle* | |
rm -rf ~/Library/Preferences/com.unity3d* | |
rm -rf ~/Library/Preferences/unity3d* | |
rm -rf /Users/Shared/Battle.net/ | |
rm -rf /Users/Shared/Blizzard/ | |
echo "[INFO]: Cleaned all Blizzard related files!" | |
echo "[INFO]: Changing DNS server to Google Public DNS!" | |
sudo networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4 | |
echo "[INFO]: Please rerun the setup now (Battle.net, WoW, Hearthstone, etc.)." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment