Add a warning and some details to the auto flash batch file

update
Hamish Coleman 8 years ago
parent d8feed7eee
commit 6829138024

@ -91,8 +91,8 @@ $(DEPSDIR)/slice.insert.deps:
cp --reflink=auto $< $@
./hexpatch.pl $@ $@.d/*.patch
%.iso.bat: %.iso.orig autoexec.bat.template
sed -e "s%__FL2%`mdir -/ -b -i $<@@$(FAT_OFFSET) |grep FL2 |cut -d/ -f3-`%" autoexec.bat.template >$@
%.iso.bat: %.iso.orig %.iso.orig.desc autoexec.bat.template
sed -e "s%__FL2%`mdir -/ -b -i $<@@$(FAT_OFFSET) |grep FL2 |cut -d/ -f3-`%; s%__DESC%`cat $<.desc`%" autoexec.bat.template >$@
# if you want to work on more patches, you probably want the pre-patched ver
%.img.prepatch: %.img.orig

@ -4,9 +4,18 @@ cd c:\flash
cls
echo.
echo.
echo This will flash your firmware to support a classic 7-row keyboard
echo.
echo.
echo This will flash your firmware to support a classic 7-row keyboard
echo.
echo WARNING: Incorrectly flashing your firmware can damage your laptop.
echo Ensure this is the right firmware version before attempting to flash
echo the firmware - there are minimal checks done.
echo.
echo This disc will flash the file __FL2
echo.
echo This disk is prepared for __DESC
echo.
pause
dosflash /sd /ipf ec /file __FL2

Loading…
Cancel
Save