Closed Pommaq closed 3 years ago
Realized I never explained WHY I set gmap.html inside a define. As of the current state in the master branch the program assumes that gmap.html is inside our current working directory when running it. This is undesirable if you ask me hence im assuming the file will always be inside the source. However some embedded devices might have copied the file somewhere else and is thus functional anyways. So I intend to have the program check the working directory if it couldnt find the html at source.
Scratch the last comment. I have made it so the program only checks the location specified in Modes.html_file, this will default to P_FILE_GMAP, which is /srv/gmap.html as of now.
The location can be changed by adding "--html_file
As title says. I think its a simple feature to have and atleast it shouldnt break anything