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.pdefile: 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\