wifi-tally_Oostendam/nodemcu-firmware/app/modules/enduser_setup/prepare.sh

8 lines
278 B
Bash
Raw Permalink Normal View History

2021-09-27 19:52:27 +00:00
#!/bin/sh
# Uses zopfli for better gzip compression
# sudo apt-get install zopfli
zopfli --gzip ./enduser_setup.html
xxd -i ./enduser_setup.html.gz | sed 's/unsigned char/static const char/; s/__enduser_setup_html_gz/enduser_setup_html_default/' > enduser_setup.html.gz.def.h