Using custom `main(String[] args)` breaks file reading functions in Windows (e.g. `loadShader()`, `loadImage()`)

adding a custom main() changes the output of sketchPath() to the location of Processing executable:

  • Without main(String[] args) , sketchPath("") returns the location of the .pde file: C:\processing-3.3.7\modes\java\examples\Basics\Image\Alphamask\
  • With main(String[] args) , sketchPath("") returns the location of my Processing installation: C:\processing-3.3.7\