mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-30 01:30:05 +02:00
Fix update partition size in [ESP420] add upload file size checking better upload error management use grbl version + build version for better tracking new embedded page from 3.0 - display fw version - menu link link to wiki / github - auto detection of index.html.gz when uploaded - websocket to limit to one instance - build batch to generate page and fw file fix for Apple captive portal blocking websocket Change `Error 0` message to `No connection`
17 lines
450 B
Batchfile
17 lines
450 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 > ../Grbl_Esp32/nofile.h
|
|
rm -f out.h
|
|
pause
|
|
|