mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
9e2a37453f
Build-config only. r=bsmedberg
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
var srDest = $SpaceRequired$;
|
|
|
|
var err = initInstall("Chatzilla v0.5", "Chatzilla", "$Version$");
|
|
logComment("initInstall: " + err);
|
|
|
|
var fProgram = getFolder("Program");
|
|
|
|
if (verifyDiskSpace(fProgram, srDest))
|
|
{
|
|
addFile("Chatzilla service",
|
|
"viewer/Components/chatzilla-service.js",
|
|
getFolder(fProgram,"Components"),
|
|
"");
|
|
|
|
addFile("Chatzilla Chrome",
|
|
"viewer/chrome/chatzilla.jar", // jar source folder
|
|
getFolder("Chrome"), // target folder
|
|
""); // target subdir
|
|
|
|
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/");
|
|
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/sm/");
|
|
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "skin/modern/chatzilla/");
|
|
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "locale/en-US/chatzilla/");
|
|
|
|
if (err==SUCCESS)
|
|
performInstall();
|
|
else
|
|
cancelInstall(err);
|
|
}
|
|
else
|
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|