[bootloader] Mark Epsilon 24.0.1 as safe

This commit is contained in:
Yaya-Cout
2024-12-27 18:38:17 +01:00
parent deda7483e3
commit 7f5fc1269d
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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";