IIRC, jslib provides a function to determine the profile name and directory. I cannot confirm it though as jslib.mozdev.org seems to be down right now...
Search for `profile' in unpacked JSLib gives only:
getProfileDefaultsLocDir : function () { return this.getPath(NS_APP_PROFILE_DEFAULTS_50_DIR); },
getProfileDefaultsDir : function () { return this.getPath(NS_APP_PROFILE_DEFAULTS_NLOC_50_DIR); },
:(
Lev Serebryakov
Programmer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
