mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Depend version on initial release
This commit is contained in:
parent
2587e2afd2
commit
fbaa461156
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue