Lev Serebryakov wrote:
How can I create profile directory in XULRunner application? I don't need many profiles, as Mozilla or FF, but I need proper place to store "prefs.js" and some other data. Of course, it should be system-dependent ($HOME/.myapp in UNIX, %ApplicationData%\Myapp in Win32, etc). Also I need to initialize "@mozilla.org/preferences-service;1" to use this directory.
XULRunner automatically creates the proper profile directory and profile files for you. You will find it in $HOME/.vendor/app on linux, etc.
--BDS _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
