Depend version on initial release

This commit is contained in:
crschnick 2024-11-12 06:13:13 +00:00
parent 2587e2afd2
commit fbaa461156

View file

@ -120,6 +120,7 @@ public class AppDownloads {
private static String queryLatestVersion(boolean first, boolean securityOnly) throws Exception { private static String queryLatestVersion(boolean first, boolean securityOnly) throws Exception {
var req = JsonNodeFactory.instance.objectNode(); var req = JsonNodeFactory.instance.objectNode();
req.put("securityOnly", securityOnly); req.put("securityOnly", securityOnly);
req.put("initial", AppProperties.get().isInitialLaunch() && first);
req.put("ptb", AppProperties.get().isStaging()); req.put("ptb", AppProperties.get().isStaging());
req.put("os", OsType.getLocal().getId()); req.put("os", OsType.getLocal().getId());
req.put("arch", AppProperties.get().getArch()); req.put("arch", AppProperties.get().getArch());