You can use ExecutionEnvironment.getEnvironmentVariable("MAIN_DIR") to have the path to your application resource directory, wherever it is.
On Linux, Windows and macOS (unbundled app) it’s where your app main is located; on macOS bundled app, it will be /…/your.app/Contents/MacOS/…/Resources
One follow up question, which I might open in a new thread…
The “hotspot” of the .cur file is not being updated. Again, it works on Win, but not on osx. Both in the script version of the application and on the setuptools package. Any insight about this?