forked from I2P_Developers/i2p.i2p
Update: Require Java 7 to download dev builds
This commit is contained in:
@@ -99,6 +99,28 @@ public class NewsHelper extends ContentHelper {
|
||||
return mgr.getUpdateConstraint(ROUTER_SIGNED, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* Translated message about new version available but constrained
|
||||
* @return null if none
|
||||
* @since 0.9.23
|
||||
*/
|
||||
public static String unsignedUpdateConstraint() {
|
||||
ConsoleUpdateManager mgr = ConsoleUpdateManager.getInstance();
|
||||
if (mgr == null) return null;
|
||||
return mgr.getUpdateConstraint(ROUTER_UNSIGNED, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* Translated message about new version available but constrained
|
||||
* @return null if none
|
||||
* @since 0.9.23
|
||||
*/
|
||||
public static String devSU3UpdateConstraint() {
|
||||
ConsoleUpdateManager mgr = ConsoleUpdateManager.getInstance();
|
||||
if (mgr == null) return null;
|
||||
return mgr.getUpdateConstraint(ROUTER_DEV_SU3, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* Release update only.
|
||||
* Already downloaded but not installed version.
|
||||
|
||||
Reference in New Issue
Block a user