Skip to content

破解

https://zhile.io/

无线破解

针对 2021-02 之前的版本

reset_jetbrains_eval_windows.vbs
Set oShell = CreateObject("WScript.Shell")
Set oFS = CreateObject("Scripting.FileSystemObject")
sHomeFolder = oShell.ExpandEnvironmentStrings("%USERPROFILE%")
sJBDataFolder = oShell.ExpandEnvironmentStrings("%APPDATA%") + "\JetBrains"

Set re = New RegExp
re.Global     = True
re.IgnoreCase = True
re.Pattern    = "\.?(IntelliJIdea|GoLand|CLion|PyCharm|DataGrip|RubyMine|AppCode|PhpStorm|WebStorm|Rider).*"

Sub removeEval(ByVal file, ByVal sEvalPath)
    bMatch = re.Test(file.Name)
    If Not bMatch Then
        Exit Sub
    End If

    If oFS.FolderExists(sEvalPath) Then
        oFS.DeleteFolder sEvalPath, True 
    End If
End Sub

If oFS.FolderExists(sHomeFolder) Then
    For Each oFile In oFS.GetFolder(sHomeFolder).SubFolders
        removeEval oFile, sHomeFolder + "\" + oFile.Name + "\config\eval"
    Next
End If

If oFS.FolderExists(sJBDataFolder) Then
    For Each oFile In oFS.GetFolder(sJBDataFolder).SubFolders
        removeEval oFile, sJBDataFolder + "\" + oFile.Name + "\eval"
    Next
End If

MsgBox "done"

如果有权限问题,可用下面文件

idea-reset.bat
:: echo %HOMEPATH%
FOR %%y IN ("WebStorm", "IntelliJ", "CLion", "Rider", "DataGrip", "GoLand", "PhpStorm", "Resharper", "PyCharm") DO (
  FOR /D %%z IN ("C:%HOMEPATH%\AppData\Roaming\JetBrains\%%y*") DO (
    rmdir "%%z\eval" /s /q
    del "%%z\options\other.xml"
  )
)

:: cd "C:%HOMEPATH%\AppData\Roaming\JetBrains\IntelliJIdea*\"
:: rmdir "eval" /s /q
:: del "options\other.xml"
:: 
::
:: This works on All Idea 2021.x on Windows10