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
#!/bin/bash | |
# Intellij 2020.* | |
echo "Removing evaluation key for Intellij" | |
rm $HOME/.config/JetBrains/IntelliJIdea*/eval/*.key | |
rm $HOME/.config/JetBrains/IntelliJIdea*/options/other.xml | |
# PHPStorm 2020.* | |
echo "Removing evaluation key for PHPStorm" | |
rm $HOME/.config/JetBrains/PhpStorm*/eval/*.key |
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
success=false | |
if [ "$(date +'%d')" = "12" ]; then | |
# Intellij | |
ijKeyPath=$HOME/.IntelliJIdea*/config/eval/*.key | |
ijConfigPath=$HOME/.IntelliJIdea*/config/options/other.xml | |
if test -f "$ijKeyPath"; then | |
echo "Resetting Intellij" | |
rm $ijKeyPath | |
rm $ijConfigPath |