only:drama

This commit is contained in:
rusefillc 2024-08-23 15:03:28 -04:00
parent 27a5133e04
commit 00966b1650
2 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,7 @@ import static com.rusefi.core.FindFileHelper.findSrecFile;
public class Autoupdate {
private static final Logging log = getLogging(Autoupdate.class);
private static final int VERSION = 20240815;
private static final int AUTOUPDATE_VERSION = 20240815; // separate from rusEFIVersion#CONSOLE_VERSION
private static final String LOGO_PATH = "/com/rusefi/";
private static final String LOGO = LOGO_PATH + "logo.png";
@ -41,7 +41,7 @@ public class Autoupdate {
private static String getTitle() {
try {
return ConnectionAndMeta.getWhiteLabel(ConnectionAndMeta.getProperties()) + " Bundle Updater " + VERSION;
return ConnectionAndMeta.getWhiteLabel(ConnectionAndMeta.getProperties()) + " Bundle Updater " + AUTOUPDATE_VERSION;
} catch (Throwable e) {
log.error("Error", e);
return "Error while getting title";

View File

@ -7,7 +7,8 @@ import java.util.concurrent.atomic.AtomicReference;
public interface rusEFIVersion {
/**
* @see com.rusefi.autoupdate.Autoupdate#VERSION
* *** BE CAREFUL WE HAVE SEPARATE AUTOUPDATE_VERSION also managed manually ***
* @see com.rusefi.autoupdate.Autoupdate#AUTOUPDATE_VERSION
*/
int CONSOLE_VERSION = 20240823;
AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");