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.
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.