I would like to be able to put the preferences file for my game in ~/Library/Preferences.
Can anyone think of a good way to do this? Remember it has to work whether the app is stored, whether that is in /Applicaltions/ or ~/Desktop/ or something!
It would be nice if there was a command such as ChangeToHomeDir() or GetHomeDir()...
For now though, I would be happy with any solution, even if it meant interacting with C code (there isn't even any easy way to do it in C either is there AFAIK?)
Can anyone think of a good way to do this? Remember it has to work whether the app is stored, whether that is in /Applicaltions/ or ~/Desktop/ or something!
It would be nice if there was a command such as ChangeToHomeDir() or GetHomeDir()...
For now though, I would be happy with any solution, even if it meant interacting with C code (there isn't even any easy way to do it in C either is there AFAIK?)