mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 16:00:38 +08:00

Add Wsocket message when upload is cancelled and so no info is sent to give root cause, need latest WebUI for catching these message On embedded unlike in 3.0 websocket is not setup so only use the xnlhttp.onerror change embeded version to 1.3.1 change version to 34 update npm when building embedded page to be sure environment is properly set
15 lines
415 B
Batchfile
15 lines
415 B
Batchfile
cd %~dp0
|
|
cmd.exe /c npm install
|
|
cmd.exe /c gulp package
|
|
cmd.exe /c bin2c -o nofile.h -m tool.html.gz
|
|
cat header.txt > out.h
|
|
cat nofile.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 > nofile.h
|
|
cat out.h > ../esp3d/nofile.h
|
|
rm -f out.h
|
|
pause
|