We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e70d96 commit 027b940Copy full SHA for 027b940
res/firmware.nsh
@@ -73,8 +73,13 @@ if "%2" == "bios" then
73
74
# Flash with FPT and exit if possible
75
if exist fpt.efi then
76
- fpt.efi -P "%1\fparts.txt" -F "%1\firmware.rom"
77
- exit %lasterror%
+ if exist fparts.txt then
+ fpt.efi -P "%1\fparts.txt" -F "%1\firmware.rom"
78
+ exit %lasterror%
79
+ else
80
+ fpt.efi -F "%1\firmware.rom"
81
82
+ endif
83
endif
84
85
# Flash with efiflash and exit if possible
0 commit comments