mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
21 lines
530 B
Plaintext
21 lines
530 B
Plaintext
var err = initInstall("Offline Support", "Offline", "$Version$");
|
|
logComment("initInstall: " + err);
|
|
|
|
// Offline Extension
|
|
|
|
var fProgram = getFolder("Program");
|
|
logComment("fProgram: " + fProgram);
|
|
|
|
err = addDirectory("", "$Version$", "bin", fProgram, "", true);
|
|
logComment("addDirectory: " + err);
|
|
|
|
var jarFolder = getFolder("Chrome", "offline.jar");
|
|
|
|
registerChrome(PACKAGE | DELAYED_CHROME, jarFolder, "content/messenger-offline/");
|
|
|
|
err = getLastError();
|
|
if (err==SUCCESS)
|
|
performInstall();
|
|
else
|
|
cancelInstall(err);
|