Browse Source

插件EnvVersion检测

master
juhaoyu 7 years ago
parent
commit
da225f08db
  1. 2
      designer_base/src/com/fr/design/extra/PluginHelper.java

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

@ -266,7 +266,7 @@ public class PluginHelper {
throw new com.fr.plugin.PluginVerifyException(jarExpiredInfo); throw new com.fr.plugin.PluginVerifyException(jarExpiredInfo);
} }
if (isHigherEnvVersion(plugin.getEnvVersion())) { if (isHigherEnvVersion(plugin.getEnvVersion())) {
String envVersionNotSupport = Inter.getLocText(new String[]{"FR-Designer-Plugin_Jar_Expired", ",", "FR-Designer-Plugin_Install_Failed"}); String envVersionNotSupport = Inter.getLocText(new String[]{"FR-Designer-Plugin_Env_Expired", ",", "FR-Designer-Plugin_Install_Failed"});
FRLogger.getLogger().error(envVersionNotSupport); FRLogger.getLogger().error(envVersionNotSupport);
throw new com.fr.plugin.PluginVerifyException(envVersionNotSupport); throw new com.fr.plugin.PluginVerifyException(envVersionNotSupport);
} }

Loading…
Cancel
Save