diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0c4645b70..7021bff41 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,6 +38,8 @@ sdk default java 21.0.1-graalce . On Windows, you have to manually install a JDK, e.g. from [Adoptium](https://adoptium.net/temurin/releases/?version=21). +You can configure a few development options in the file `app/dev.properties` which will be automatically generated when gradle is first run. + ## Building and Running You can use the gradle wrapper to build and run the project: diff --git a/app/src/main/java/io/xpipe/app/core/AppProperties.java b/app/src/main/java/io/xpipe/app/core/AppProperties.java index f210944e4..1dfa18d13 100644 --- a/app/src/main/java/io/xpipe/app/core/AppProperties.java +++ b/app/src/main/java/io/xpipe/app/core/AppProperties.java @@ -95,8 +95,8 @@ public class AppProperties { .map(Boolean::parseBoolean) .orElse(false); locatorVersionCheck = Optional.ofNullable(System.getProperty("io.xpipe.app.locator.disableInstallationVersionCheck")) - .map(Boolean::parseBoolean) - .orElse(false); + .map(s -> !Boolean.parseBoolean(s)) + .orElse(true); } public static void logSystemProperties() { diff --git a/dist/build.gradle b/dist/build.gradle index f90264fa8..25e480bdb 100644 --- a/dist/build.gradle +++ b/dist/build.gradle @@ -15,6 +15,10 @@ repositories { task dist(type: DefaultTask) {} +run { + enabled = false +} + distTar { enabled = false; } @@ -23,7 +27,6 @@ distZip { enabled = false; } - import org.gradle.crypto.checksum.Checksum import java.util.stream.Collectors