|
|
@ -105,6 +105,7 @@ public class PluginHelper { |
|
|
|
plugin = new Plugin(); |
|
|
|
plugin = new Plugin(); |
|
|
|
InputStream inputStream = plugin.readEncryptXml(new FileInputStream(f)); |
|
|
|
InputStream inputStream = plugin.readEncryptXml(new FileInputStream(f)); |
|
|
|
XMLTools.readInputStreamXML(plugin, inputStream); |
|
|
|
XMLTools.readInputStreamXML(plugin, inputStream); |
|
|
|
|
|
|
|
//检查是否需要准备插件依赖环境
|
|
|
|
plugin.checkDependenceEnv(); |
|
|
|
plugin.checkDependenceEnv(); |
|
|
|
if (!plugin.isValidate()) { |
|
|
|
if (!plugin.isValidate()) { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|