Hi
Using Lazarus 1.0.14, I have now an application working on Windows, Linux and Mac.
It has to write some data in a configuration file.
I used GetAppConfigDir(false) to obtain the filename of the inifile.
Before writing, I call ForceDirectories to be sure that all parent directories exist.
It works fine on Windows and Linux.
On MAC OSX, when the app is launched from the EDI, the returned path is /Users/my_user/.config/my_application_name which is may be not perfect for OSX policy, but it works.
If I create an app bundle, and run it from a terminal, the path returned by GetAppConfigDir is : -psn_0_311372 !
And then, ForceDirectories raises a strange error "Cannot create empty directory"
I'm afraid that I will need to use something else than GetAppConfigDir to find the config path, but before I'd like to know if someone has already encountered this issue and fixed it in another way.
Thanks
Tintinux