Skip to content

Commit

Permalink
Add block to handle flashing thelio-mega-r3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobktm authored and crawfxrd committed Jun 27, 2024
1 parent bb1fee3 commit b6d10f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions res/firmware.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6d10f7

Please sign in to comment.