After exporting a python sketch, which needed a .png image file, the .app wouldn’t run.
After doing some testing, I realized the bug was that the sketch was looking for the .png file in “/Users/ME/”, instead of “/Users/ME/App.app/Contents/Processing/data/” (the path of the image).
And even after trying to use sketchPath, it still didn’t work since the sketchPath was “/Users/ME/”.
So here’s the question, how do I make the sketch in the .app register the data file in the correct path or at least somewhere inside the .app without me doing it manually?
I am building the sketch in ~/Documents/Processing/test/ ,
and the other ones are built just in ~/Documents/Processing/name/ .
In case 1, everything happened as predicted: