restore deleted plugin path modification

This commit is contained in:
Alex Lambert 2012-12-07 18:57:20 -05:00 committed by Shay Banon
parent e021904250
commit 635438e7d1
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ public class PluginManager {
// remove es- prefix
name = name.substring("es-".length());
}
pluginFile = new File(environment.pluginsFile(), name + ".zip");
if (version == null) {
// try with ES version from downloads
URL pluginUrl = new URL("https://github.com/downloads/" + userName + "/" + repoName + "/" + repoName + "-" + Version.CURRENT.number() + ".zip");