gereic / GXAirCom

Multifunctional, compatible DIY aviation proximity awareness, variometer and messaging system with FANET+, FLARM and OGN support.
122 stars 39 forks source link

Creating webfiles on Windows doesn't work properly (\src\web) #126

Open hermannbach opened 1 year ago

hermannbach commented 1 year ago

I'm using windows to create the project! While trying to create a version to use Heltec Lora V2 as airmodule, found that the procedure to create the minified/packed web files doesn't work on windows. There exist the "createHeaderFile.bat" but that batchfile does only a part of the job. Doesn't create and copy the files to the \data\ folder. HtmlMinifier.exe doesn't minify the .css and .js file. Procedure given in "_readme.txt" also is only another small part of the job. The website used to create the compressed byte array was offline due to traffic load. Looking into "createHeaderFile.sh" lead me to the right lane. Needed to download gzip.exe, minify.exe, cygwin1.dll, and change createHeaderFile.bat. Now it works on windows. And also the Heltec board seems to work as airmodule with gps and pressure sensor.