From 7f5fc1269d3cb21a81cb1ef5e99abce631aad48a Mon Sep 17 00:00:00 2001 From: Yaya-Cout Date: Fri, 27 Dec 2024 18:38:17 +0100 Subject: [PATCH] [bootloader] Mark Epsilon 24.0.1 as safe --- bootloader/boot.cpp | 4 ++-- bootloader/interface/static/messages.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootloader/boot.cpp b/bootloader/boot.cpp index e615b5896..c8aa5aa3a 100644 --- a/bootloader/boot.cpp +++ b/bootloader/boot.cpp @@ -103,9 +103,9 @@ void Boot::patchKernel(const Slot & s) { void Boot::bootSlot(Bootloader::Slot s) { config()->setSlot(&s); if (!s.userlandHeader()->isOmega() && !s.userlandHeader()->isUpsilon()) { - // We are trying to boot epsilon, so we check the version and show an advertisement if needed + // We are trying to boot epsilon, so we check the version and show a warning if needed const char * version = s.userlandHeader()->version(); - const char * min = "23.2.6"; + const char * min = "24.0.2"; int versionSum = Utility::versionSum(version, strlen(version)); int minimalVersionTrigger = Utility::versionSum(min, strlen(min)); if (versionSum >= minimalVersionTrigger) { diff --git a/bootloader/interface/static/messages.h b/bootloader/interface/static/messages.h index 97b6e1fa0..f1dbf1a58 100644 --- a/bootloader/interface/static/messages.h +++ b/bootloader/interface/static/messages.h @@ -72,7 +72,7 @@ public: constexpr static const char * aboutMessage4 = "and select the OS"; constexpr static const char * aboutMessage5 = "to boot."; - constexpr static const char * bootloaderVersion = "Version 1.0.12 - FREED0M.23.2.5"; + constexpr static const char * bootloaderVersion = "Version 1.0.13 - FREED0M.24.0.1"; //USB NAMES constexpr static const char * usbUpsilonBootloader = "NumWorks Calculator";