Terrapin-Rocket-Team / Ground-Station

A Node.js/Electron ground station user interface to display and log APRS messages recieved over Serial
0 stars 0 forks source link

4-Fixed cached tiles failing to load #7

Closed erodarob closed 9 months ago

erodarob commented 9 months ago

Description of changes:

Any file paths that were supposed to be relative to the executable were changed to begin with "./", and any file paths that were supposed to be relative to main.js were changed to use "dirname" with path.join. The use of "./" as opposed to "dirname" was the root cause of the tiles failing to load because they were incorrectly placed relative to the executable rather than relative to main.js.