I’m using Lazarus on the Mac for the first time, trying to port/finish a little app in preparation for porting a bigger app.
In order to locate the resources for the app, I figured I needed to know where it was located. (If I’m wrong, and I’m setting y’all an XY problem, please let me know.)
But whether I use Paramstr(0) or the more approved Application.ExeName, then on the Mac instead of getting the actual file path /Users/myname/Documents/Hamsters/project1, I instead get /Users/myname/Documents/Hamsters/project1.app/Contents/MacOS/project1
This doesn’t exist.
Any advice? Thanks for your help.