From b6d10f7e0388640bd55c6acfe9ea962650f1d455 Mon Sep 17 00:00:00 2001 From: Jacob Kaulike Date: Thu, 27 Jun 2024 08:45:42 -0600 Subject: [PATCH] Add block to handle flashing thelio-mega-r3 --- res/firmware.nsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/res/firmware.nsh b/res/firmware.nsh index ea8e437..80ba2f4 100644 --- a/res/firmware.nsh +++ b/res/firmware.nsh @@ -151,6 +151,14 @@ if "%2" == "bios" then exit %lasterror% endif + # Flash with WRX90AfuEfix64 and exit if possible + # For: thelio-mega-r3 + if exist WRX90AfuEfix64.efi then + WRX90AfuEfix64.efi firmware.rom /P /B /N /L /CAPSULE + + exit %lasterror% + endif + # Flash with efiflash and exit if possible if exist efiflash.efi then efiflash.efi firmware.rom /C /NR \NoOemId