Update: Require Java 7 to download dev builds

This commit is contained in:
zzz
2015-10-14 18:22:35 +00:00
parent 9224afb78d
commit 6aa8ed1280
4 changed files with 71 additions and 4 deletions

View File

@@ -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.