mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
be313edc35
Bug #253617 --> Options / General panel on Windows won't remember any settings. Synch the installer with the messenger-mapi chrome locaton changes made for GNOME mapi support.
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
var err = initInstall("RSS Support", "RSS", "$Version$");
|
|
logComment("initInstall: " + err);
|
|
|
|
// RSS Extension
|
|
|
|
var fProgram = getFolder("Program");
|
|
logComment("fProgram: " + fProgram);
|
|
|
|
err = addDirectory("", "$Version$", "bin", fProgram, "", true);
|
|
logComment("addDirectory: " + err);
|
|
|
|
var jarFolder = getFolder("Chrome", "newsblog.jar");
|
|
|
|
fTarget = getFolder("Program", "defaults");
|
|
logComment("fTarget: " + fTarget);
|
|
err = addDirectory("",
|
|
"bin/defaults", // dir name in jar to extract
|
|
fTarget, // Where to put this file (Returned from GetFolder)
|
|
""); // subdir name to create relative to fProgram
|
|
|
|
addFile("RSS Service",
|
|
"bin/components/newsblog.js",
|
|
getFolder("Components"),
|
|
"");
|
|
|
|
registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/messenger-newsblog/");
|
|
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","qute.jar"), "skin/classic/messenger-newsblog/");
|
|
|
|
err = getLastError();
|
|
if (err==SUCCESS)
|
|
performInstall();
|
|
else
|
|
cancelInstall(err);
|