I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit c949ad52 authored by zzz's avatar zzz
Browse files

Update Manager: Add an UpdateType for the API version

parent 5621b4bf
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ import java.util.Properties;
import java.util.StringTokenizer;
import java.util.concurrent.ConcurrentHashMap;
import net.i2p.CoreVersion;
import net.i2p.I2PAppContext;
import net.i2p.app.ClientAppManager;
import net.i2p.app.ClientAppState;
......@@ -146,6 +147,7 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
notifyInstalled(ROUTER_SIGNED, "", RouterVersion.VERSION);
notifyInstalled(ROUTER_SIGNED_SU3, "", RouterVersion.VERSION);
notifyInstalled(ROUTER_DEV_SU3, "", RouterVersion.FULL_VERSION);
notifyInstalled(API, "", CoreVersion.PUBLISHED_VERSION);
String blist = _context.getProperty(NewsFetcher.PROP_BLOCKLIST_TIME);
if (blist != null)
notifyInstalled(BLOCKLIST, Blocklist.ID_FEED, blist);
......
......@@ -25,5 +25,7 @@ public enum UpdateType {
/** @since 0.9.15 */
NEWS_SU3,
/** @since 0.9.17 */
ROUTER_DEV_SU3
ROUTER_DEV_SU3,
/** @since 0.9.53 */
API
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment