The current gtUserDir() needs to be renamed to getUserPreferencesDirectoryName() and developers should know to use getUsersDataDirectoryName() for their won needs. On a Mac, the only thing that should be in the preferences directory is the config file.
As most preferences on a Mac are plist, and Stellarium does not use this, it'd also be fine to put everything under the data directory. Right now though, some things use the correct path, and some do not. This can cause the application to crash.
The current gtUserDir() needs to be renamed to getUserPreferen cesDirectoryNam e() and developers should know to use getUsersDataDir ectoryName( ) for their won needs. On a Mac, the only thing that should be in the preferences directory is the config file.
As most preferences on a Mac are plist, and Stellarium does not use this, it'd also be fine to put everything under the data directory. Right now though, some things use the correct path, and some do not. This can cause the application to crash.