forked from I2P_Developers/i2p.i2p
Plugins: Add form to browse for local plugin file to install,
easy since we have multipart in console now Better status feedback from update manager to console
This commit is contained in:
@@ -67,7 +67,8 @@ class PluginUpdateHandler implements Checker, Updater {
|
||||
public UpdateTask update(UpdateType type, UpdateMethod method, List<URI> updateSources,
|
||||
String appName, String newVersion, long maxTime) {
|
||||
if (type != UpdateType.PLUGIN ||
|
||||
method != UpdateMethod.HTTP || updateSources.isEmpty())
|
||||
(method != UpdateMethod.HTTP && method != UpdateMethod.FILE) ||
|
||||
updateSources.isEmpty())
|
||||
return null;
|
||||
Properties props = PluginStarter.pluginProperties(_context, appName);
|
||||
String oldVersion = props.getProperty("version");
|
||||
|
||||
Reference in New Issue
Block a user