mirror of
https://github.com/luc-github/ESP3DLib.git
synced 2026-03-03 06:34:04 +01:00
Add more control during upload (SD/SPIFFS/Update) Fix SD card > 4GB size calculation Fix Apple Captive portal blocking websocket Add auto mount for SD commands Use latest embedded page Display ESP3DLib Version in [ESP800] output Force sleep mode to be none at start
17 lines
443 B
Batchfile
17 lines
443 B
Batchfile
cd %~dp0
|
|
cmd.exe /c npm install
|
|
cmd.exe /c npm audit fix
|
|
cmd.exe /c npm audit
|
|
cmd.exe /c gulp package
|
|
cmd.exe /c bin2c -o embedded.h -m tool.html.gz
|
|
cat header.txt > out.h
|
|
cat embedded.h >> out.h
|
|
cat footer.txt >> out.h
|
|
sed -i "s/tool_html_gz_size/PAGE_NOFILES_SIZE/g" ./out.h
|
|
sed -i "s/const unsigned char tool_html_gz/const char PAGE_NOFILES/g" ./out.h
|
|
sed -i "s/] = {/] PROGMEM = {/g" ./out.h
|
|
cat out.h > ../src/nofile.h
|
|
rm -f out.h
|
|
pause
|
|
|