DutchDevelop / BLLEDController

Other
94 stars 26 forks source link

compress html to bytearray h file as build process not manual #45

Closed longrackslabs closed 5 months ago

longrackslabs commented 5 months ago

Enabled the build process to compress a HTML file into a .h file with byte array data (rather than the current manual prcoess?). I have tested with setuppage.html -> setuppage.h on the device. I updated the README to include 2 new pre-requisites - python and qpdf that are required to be installed for this change.

This process should work for updatepage.html as well ( I did not make that change). Just add that file to list in pre_build.py, add the .h file to .gitignore, delete it from the repo).