Marja wrote:
In Firefox I understand that the additional files that are not Preferences (e.g. some example files) can go to Defaults folder when installing a package.

So I started using Defaults instead of Chrome folder and run into problems.

Firefox install.rdf understands the Defaults structure from the .xpi file (at least in documentation), but in Mozilla install.js I cannot find how I should refer to that folder with getFolder(). DefRt does not seem to work.

Please help!

Marja

Here are a few examples:

const G_PROGRAM        = "program";
const G_PROGRAM_DIR    = getFolder(G_PROGRAM);
const G_DEFPREF_DIR    = getFolder(G_PROGRAM, "defaults/pref");
const G_DEFPROFILE_DIR = getFolder(G_PROGRAM, "defaults/profile");

Have fun now,
/HJ
_______________________________________________
Mozilla-xpinstall mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to