fixed for "rider for unreal engine"
Signed-off-by: pengzhile <pengzhile@gmail.com>pull/8/head
parent
5071d51c3d
commit
b2c88d612f
|
@ -1,6 +1,6 @@
|
|||
# Reset Your IDE Eval Information
|
||||
|
||||
1. Download and install plugin from [Download Link](https://plugins.zhile.io/files/ide-eval-resetter-2.1.8.zip).
|
||||
1. Download and install plugin from [Download Link](https://plugins.zhile.io/files/ide-eval-resetter-2.1.9.zip).
|
||||
* Alternative installation method:
|
||||
* Add "Custom Plugin Repository": `https://plugins.zhile.io` manually (`Settings/Preferences` -> `Plugins`)
|
||||
* Search and install plugin: `IDE Eval Reset`
|
||||
|
|
|
@ -4,7 +4,7 @@ plugins {
|
|||
}
|
||||
|
||||
group 'io.zhile.research.intellij'
|
||||
version '2.1.8'
|
||||
version '2.1.9'
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
targetCompatibility = 1.7
|
||||
|
@ -29,6 +29,8 @@ intellij {
|
|||
|
||||
patchPluginXml {
|
||||
changeNotes """<pre>
|
||||
Release v2.1.9
|
||||
1. fixed for "rider for unreal engine"
|
||||
Release v2.1.8
|
||||
1. fixed the issue of resetting market plugins for genuine users
|
||||
Release v2.1.7
|
||||
|
|
|
@ -26,7 +26,6 @@ public class Resetter {
|
|||
private static final String OLD_MACHINE_ID_KEY = "JetBrains.UserIdOnMachine";
|
||||
private static final String NEW_MACHINE_ID_KEY = DEFAULT_VENDOR + ".user_id_on_machine";
|
||||
private static final String DEVICE_ID_KEY = DEFAULT_VENDOR + ".device_id";
|
||||
private static final String IDE_EVAL_PREFIX = DEFAULT_VENDOR + "/" + Constants.IDE_NAME_LOWER + "/" + Constants.IDE_HASH;
|
||||
private static final String EVAL_KEY = "evlsprt";
|
||||
private static final String AUTO_RESET_KEY = Constants.PLUGIN_PREFS_PREFIX + ".auto_reset." + Constants.IDE_NAME_LOWER + "." + Constants.IDE_HASH;
|
||||
|
||||
|
@ -106,7 +105,13 @@ public class Resetter {
|
|||
|
||||
try {
|
||||
List<String> prefsList = new ArrayList<>();
|
||||
getAllPrefsKeys(Preferences.userRoot().node(IDE_EVAL_PREFIX), prefsList);
|
||||
for (String name:Preferences.userRoot().node(DEFAULT_VENDOR).childrenNames()) {
|
||||
if (!name.toLowerCase().startsWith(Constants.IDE_NAME_LOWER)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
getAllPrefsKeys(Preferences.userRoot().node(DEFAULT_VENDOR + "/" + name + "/" + Constants.IDE_HASH), prefsList);
|
||||
}
|
||||
|
||||
Method methodGetProductCode = ReflectionHelper.getMethod(IdeaPluginDescriptor.class, "getProductCode");
|
||||
if (null != methodGetProductCode) {
|
||||
|
|
|
@ -18,7 +18,7 @@ public class PluginListener implements DynamicPluginListener {
|
|||
}
|
||||
|
||||
ActionManager.getInstance().getAction(Constants.RESET_ACTION_ID);
|
||||
NotificationHelper.showInfo(null, "Plugin installed successfully! Now enjoy it~<br>For more information, visit <a href='https://zhile.io/2020/11/19/jetbrains-eval-reset.html'>here</a>.");
|
||||
NotificationHelper.showInfo(null, "Plugin installed successfully! Now enjoy it~<br>For more information, visit <a href='https://zhile.io/2020/11/18/jetbrains-eval-reset.html'>here</a>.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
I can reset your IDE eval information.<br>
|
||||
<em>Click "Help" menu and select "Eval Reset"</em><br><br>
|
||||
<p>
|
||||
<a href="https://zhile.io/2020/11/19/jetbrains-eval-reset.html" target="_blank">Need Help?</a>
|
||||
<a href="https://zhile.io/2020/11/18/jetbrains-eval-reset.html" target="_blank">Need Help?</a>
|
||||
</p>
|
||||
]]></description>
|
||||
|
||||
|
|
Loading…
Reference in New Issue