зеркало из https://github.com/mozilla/pjs.git
20 строки
597 B
Plaintext
20 строки
597 B
Plaintext
|
var err = initInstall("Website Reporter", "Reporter", "$Version$");
|
||
|
logComment("initInstall: " + err);
|
||
|
|
||
|
addFile("Reporter Chrome",
|
||
|
"bin/chrome/reporter.jar", // jar source folder
|
||
|
getFolder("Chrome"), // target folder
|
||
|
""); // target subdir
|
||
|
|
||
|
var jarFolder = getFolder("Chrome", "reporter.jar");
|
||
|
|
||
|
registerChrome(PACKAGE | DELAYED_CHROME, jarFolder, "content/reporter/");
|
||
|
registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/reporter/");
|
||
|
|
||
|
err = getLastError();
|
||
|
if (err==SUCCESS)
|
||
|
performInstall();
|
||
|
else
|
||
|
cancelInstall(err);
|
||
|
|