首页 » 操作系统 » macOS » 正文

Reset App Evaluation

发布者:站点默认
2013/07/26 浏览数(489) 分类:macOS Reset App Evaluation已关闭评论

JetBrains

Exit software first. Take PhpStorm2020.2 as an example below.

MacOS:

rm -rf ~/Library/Application\ Support/JetBrains/PhpStorm*/eval
sed -i -E 's/<property name=\"evl.*\".*\/>//' ~/Library/Application\ Support/JetBrains/PhpStorm*/options/other.xml
rm -rf ~/Library/Application\ Support/JetBrains/PhpStorm*/eval
sed -i /name=\"evl/d ~/Library/Application\ Support/JetBrains/PhpStorm*/options/other.xml

Linux:

rm -rf ~/.config/JetBrains/PhpStorm2020.2/eval
sed -i /name=\"evl/d ~/.config/JetBrains/PhpStorm2020.2/options/other.xml

Windows:

Folder: %USERPROFILE%\AppData\Roaming\JetBrains\WebStorm*
Delete lines that start with 'evl' in file options\other.xml
Remove eval folder
Delete HKEY_CURRENT_USER\Software\JavaSoft\Prefs\jetbrains\WebStorm

Second usage for Windows:

@echo off
set version=PhpStorm2020.2
set psDir=%USERPROFILE%\AppData\Roaming\JetBrains\%version%
sed -i /name=\"evl/d %psDir%\options\other.xml
rmdir /s /q %psDir%\eval
reg delete HKEY_CURRENT_USER\Software\JavaSoft\Prefs\jetbrains\phpstorm /va /f

sed.exe

点击返回顶部
  1. 留言
  2. 联系方式