only:binary_config_image
This commit is contained in:
parent
058b3ea789
commit
c9e5a3f5d6
|
@ -14,6 +14,7 @@ import com.rusefi.binaryprotocol.test.Bug3923;
|
|||
import com.rusefi.config.generated.Fields;
|
||||
import com.rusefi.core.Pair;
|
||||
import com.rusefi.core.SensorCentral;
|
||||
import com.rusefi.core.net.ConnectionAndMeta;
|
||||
import com.rusefi.io.*;
|
||||
import com.rusefi.io.commands.BurnCommand;
|
||||
import com.rusefi.io.commands.ByteRange;
|
||||
|
@ -367,7 +368,9 @@ public class BinaryProtocol {
|
|||
}
|
||||
if (arguments != null && arguments.saveFile) {
|
||||
try {
|
||||
ConfigurationImageFile.saveToFile(image, CONFIGURATION_RUSEFI_BINARY);
|
||||
if (ConnectionAndMeta.saveSettingsToFile()) {
|
||||
ConfigurationImageFile.saveToFile(image, CONFIGURATION_RUSEFI_BINARY);
|
||||
}
|
||||
Msq tune = MsqFactory.valueOf(image, IniFileModel.getInstance());
|
||||
tune.writeXmlFile(CONFIGURATION_RUSEFI_XML);
|
||||
} catch (Exception e) {
|
||||
|
|
|
@ -148,6 +148,10 @@ public class ConnectionAndMeta {
|
|||
return DEFAULT_WHITE_LABEL.equals(whiteLabel);
|
||||
}
|
||||
|
||||
public static boolean saveSettingsToFile() {
|
||||
return Boolean.TRUE.toString().equalsIgnoreCase(getStringProperty(getProperties(), "binary_config_image", "false"));
|
||||
}
|
||||
|
||||
public HttpURLConnection getHttpConnection() {
|
||||
return httpConnection;
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ public interface rusEFIVersion {
|
|||
/**
|
||||
* @see com.rusefi.autoupdate.Autoupdate#VERSION
|
||||
*/
|
||||
int CONSOLE_VERSION = 20240819;
|
||||
int CONSOLE_VERSION = 20240821;
|
||||
AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
|
||||
static long classBuildTimeMillis() {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
auto_update_root_url=https://rusefi.com/build_server
|
||||
show_pcan=true
|
||||
show_simulator=true
|
||||
binary_config_image=true
|
||||
|
|
Loading…
Reference in New Issue