Skip to content

Commit fe29f8b

Browse files
leviportcrawfxrd
authored andcommitted
Allow MSI's EFI flash script to run
1 parent 966de7a commit fe29f8b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

res/firmware.nsh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ if "%2" == "bios" then
104104
exit %lasterror%
105105
endif
106106

107+
# Flash with msiefiflash and exit if possible
108+
if exist msiefiflash.efi then
109+
msiefiflash.efi firmware.rom
110+
exit %lasterror%
111+
endif
112+
107113
# Flash with efiflash and exit if possible
108114
if exist efiflash.efi then
109115
efiflash.efi firmware.rom /C /NR \NoOemId

0 commit comments

Comments
 (0)