Created
July 28, 2021 02:51
-
-
Save debu999/22df48ce872540740f39e2abc5e7d10b to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
echo "removing evaluation key..." | |
# in mac you can look at installed version and then delete the evaluation file. Big Sur OS Version. | |
rm -rfv ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.1/eval | |
echo "resetting evalsprt in other.xml ... " | |
sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.1/options/other.xml | |
defaults delete com.apple.java.util.prefs 2> /dev/null | |
echo "removing additional plist files..." | |
rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist | |
rm -f ~/Library/Preferences/com.jetbrains.*.plist | |
rm -f ~/Library/Preferences/jetbrains.*.*.plist | |
echo "restarting cfprefsd" | |
killall cfprefsd | |
echo | |
echo "That's it, enjoy ;)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment