forked from I2P_Developers/i2p.i2p
Update: Ignore su3 dev build version at startup if older
This commit is contained in:
@ -194,11 +194,15 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
|
||||
register((Updater)dsuh, ROUTER_DEV_SU3, HTTP, 0);
|
||||
newVersion = _context.getProperty(PROP_DEV_SU3_AVAILABLE);
|
||||
if (newVersion != null) {
|
||||
if (VersionComparator.comp(newVersion, RouterVersion.FULL_VERSION) > 0) {
|
||||
List<URI> updateSources = dsuh.getUpdateSources();
|
||||
if (dsuh != null) {
|
||||
VersionAvailable newVA = new VersionAvailable(newVersion, "", HTTP, updateSources);
|
||||
_available.put(new UpdateItem(ROUTER_DEV_SU3, ""), newVA);
|
||||
}
|
||||
} else {
|
||||
_context.router().saveConfig(PROP_DEV_SU3_AVAILABLE, null);
|
||||
}
|
||||
}
|
||||
|
||||
PluginUpdateHandler puh = new PluginUpdateHandler(_context, this);
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 23;
|
||||
public final static long BUILD = 24;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
Reference in New Issue
Block a user