From fbaa461156cdee436f59584aae1a663c8302482d Mon Sep 17 00:00:00 2001 From: crschnick Date: Tue, 12 Nov 2024 06:13:13 +0000 Subject: [PATCH] Depend version on initial release --- app/src/main/java/io/xpipe/app/update/AppDownloads.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/xpipe/app/update/AppDownloads.java b/app/src/main/java/io/xpipe/app/update/AppDownloads.java index 4f36f3bd5..a9e008816 100644 --- a/app/src/main/java/io/xpipe/app/update/AppDownloads.java +++ b/app/src/main/java/io/xpipe/app/update/AppDownloads.java @@ -120,6 +120,7 @@ public class AppDownloads { private static String queryLatestVersion(boolean first, boolean securityOnly) throws Exception { var req = JsonNodeFactory.instance.objectNode(); req.put("securityOnly", securityOnly); + req.put("initial", AppProperties.get().isInitialLaunch() && first); req.put("ptb", AppProperties.get().isStaging()); req.put("os", OsType.getLocal().getId()); req.put("arch", AppProperties.get().getArch());