From e9c60e79dea0e6ca503596e5bce42e87216bf090 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 18 Sep 2024 09:20:31 -0400 Subject: [PATCH] only:show_update_calibrations --- .../src/main/java/com/rusefi/core/net/ConnectionAndMeta.java | 4 ++++ .../shared_io/src/main/resources/shared_io.properties | 1 + 2 files changed, 5 insertions(+) diff --git a/java_console/shared_io/src/main/java/com/rusefi/core/net/ConnectionAndMeta.java b/java_console/shared_io/src/main/java/com/rusefi/core/net/ConnectionAndMeta.java index 59cc1bd9f7..7674df8051 100644 --- a/java_console/shared_io/src/main/java/com/rusefi/core/net/ConnectionAndMeta.java +++ b/java_console/shared_io/src/main/java/com/rusefi/core/net/ConnectionAndMeta.java @@ -86,6 +86,10 @@ public class ConnectionAndMeta { return getBoolean("flexible_autoscale"); } + public static boolean showUpdateCalibrations() { + return getBoolean("show_update_calibrations"); + } + public static boolean getBoolean(String propertyName) { return getBoolean(propertyName, getProperties()); } diff --git a/java_console/shared_io/src/main/resources/shared_io.properties b/java_console/shared_io/src/main/resources/shared_io.properties index f61adde1d6..9c0accdd88 100644 --- a/java_console/shared_io/src/main/resources/shared_io.properties +++ b/java_console/shared_io/src/main/resources/shared_io.properties @@ -1,5 +1,6 @@ auto_update_root_url=https://rusefi.com/build_server show_pcan=true show_simulator=true +show_update_calibrations=false binary_config_image=true write_readme_html=true