mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 17:30:18 +01:00
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
|
var srDest = $SpaceRequired$;
|
||
|
|
||
|
var err = initInstall("Chatzilla v0.5", "Chatzilla", "$Version$");
|
||
|
logComment("initInstall: " + err);
|
||
|
|
||
|
if (verifyDiskSpace(getFolder("Program"), srDest))
|
||
|
{
|
||
|
addFile("Chatzilla service",
|
||
|
"$Version$",
|
||
|
"bin/components/chatzilla-service.js",
|
||
|
getFolder("Components"),
|
||
|
"chatzilla-service.js",
|
||
|
true);
|
||
|
|
||
|
addFile("Chatzilla Chrome",
|
||
|
"bin/chrome/chatzilla.jar", // jar source folder
|
||
|
getFolder("Chrome"), // target folder
|
||
|
""); // target subdir
|
||
|
|
||
|
addDirectory("Chatzilla Icons",
|
||
|
"bin/chrome/icons", // jar source folder
|
||
|
getFolder("Chrome", "icons"), // target folder
|
||
|
""); // target subdir
|
||
|
|
||
|
registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/");
|
||
|
registerChrome(CONTENT | 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);
|