Where Do You Save User Prefs?

Peter Haworth pete at lcsql.com
Sun May 27 00:30:19 EDT 2012


Hi Igor,
The current Apple directive for OS X preferences is that they should go in:

~/Library/Application Support/<app-identifier>
~/Library/<app-identifier>
~/Library/Caches/<app-identifier>

<app-identifier> can be a folder containing the prefs file or the prefs
file itself, and the first of the above three options seems to be the most
used.

Not sure why the Prefernces folder is not the standard any more but if you
put a prefs file there, it won't be accepted into the Mac App Store.


Can't be of much help on the other platforms, sorry.

Pete
lcSQL Software <http://www.lcsql.com>



On Sat, May 26, 2012 at 7:32 PM, Igor de Oliveira Couto <
igor at superstudent.net> wrote:

> 1) MacOS X
> Prefs Location: specialFolderPath("Preferences")
> Prefs Name: anything you wish, but convention is that if saving your
> preferences using your own file format - like a LiveCode stack - then name
> it something like "MyApp Prefs". If saving a .plist file, then use the
> reverse-domain convention: "com.mycompany.myapp.plist".
>



More information about the Use-livecode mailing list