Browse Source

Merge pull request #730 in BA/design from ~JU/1-ba-design:dev to dev

* commit '3b6b8e7655e3623b32db5a00b1de879f4640f490':
  插件状态
master
superman 8 years ago
parent
commit
bdf3ff1598
  1. 2
      designer_base/src/com/fr/design/extra/PluginHelper.java

2
designer_base/src/com/fr/design/extra/PluginHelper.java

@ -256,7 +256,7 @@ public class PluginHelper {
if (PluginLoader.getLoader().isInstalled(plugin)) {
throw new com.fr.plugin.PluginVerifyException(Inter.getLocText("FR-Designer-Plugin_Has_Been_Installed"));
}
if (plugin.isJarExpired()) {
if (plugin.checkIfJarExpired()) {
String jarExpiredInfo = Inter.getLocText(new String[]{"FR-Designer-Plugin_Jar_Expired", ",", "FR-Designer-Plugin_Install_Failed", ",", "FR-Designer-Plugin_Please_Update_Jar", plugin.getRequiredJarTime()});
FRLogger.getLogger().error(jarExpiredInfo);
throw new com.fr.plugin.PluginVerifyException(jarExpiredInfo);

Loading…
Cancel
Save