gecko-dev/xpinstall/packager/os2/chatzilla.jst
silver%warwickcompsoc.co.uk 9e2a37453f Bug 260247 - Register new ChatZilla chrome directory in installer.
Build-config only.
r=bsmedberg
2004-09-22 12:32:38 +00:00

25 lines
927 B
Plaintext

var err = initInstall("Chatzilla v0.5", "Chatzilla", "$Version$");
logComment("initInstall: " + err);
addFile("Chatzilla service",
"bin/components/chatzilla-service.js",
getFolder("Components"),
"");
addFile("Chatzilla Chrome",
"bin/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/");
err = getLastError();
if (err==SUCCESS)
performInstall();
else
cancelInstall(err);