byte[] actualChecksum = FileUtil.createChecksum(tempPluginJarFile, "SHA256");
return StringUtil.toHex(actualChecksum);
}
private PluginOperationResult executeInstallFromLocalFile(File pluginJarFile) throws Exception {
eventBus.post(new PluginInstallExternalEvent(pluginJarFile.getAbsolutePath()));
PluginInfo pluginInfo = readPluginInfoFromJar(pluginJarFile);
checkPluginNotInstalled(pluginInfo.getPluginId());
checkPluginCompatibility(pluginInfo);