From 2cf6caf6e8e5e95ee937c519817a89bf63f01a01 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 19 Aug 2024 10:58:50 -0400 Subject: [PATCH] only:todo --- .../src/main/java/com/rusefi/autoupdate/Autoupdate.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java b/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java index e01a0b2d96..b77c7cc1f2 100644 --- a/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java +++ b/java_console/autoupdate/src/main/java/com/rusefi/autoupdate/Autoupdate.java @@ -109,6 +109,7 @@ public class Autoupdate { try { // We cannot unzip rusefi_autoupdate.jar file because we need the old one to prepare class loader below // (otherwise we get `ZipFile invalid LOC header (bad signature)` exception, see #6777) + // TODO: extract only ConnectionAndMeta#getRusEfiConsoleJarName FileUtil.unzip(autoupdateFile.zipFileName, new File(".."), isRusefiAutoupdateJar.negate()); final String srecFile = findSrecFile(); new File(srecFile == null ? FindFileHelper.FIRMWARE_BIN_FILE : srecFile)