mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 18:00:15 +01:00
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
var srDest = $SpaceRequired$;
|
|
|
|
var err = initInstall("JavaScript Debugger", "Venkman", "$Version$");
|
|
logComment("initInstall: " + err);
|
|
|
|
if (verifyDiskSpace(getFolder("Program"), srDest))
|
|
{
|
|
addFile("Venkman Service",
|
|
"$Version$",
|
|
"bin/components/venkman-service.js",
|
|
getFolder("Components"),
|
|
"venkman-service.js",
|
|
true);
|
|
|
|
addFile("Venkman Chrome",
|
|
"bin/chrome/venkman.jar", // jar source folder
|
|
getFolder("Chrome"), // target folder
|
|
""); // target subdir
|
|
|
|
addDirectory("Venkman Icons",
|
|
"bin/chrome/icons", // jar source folder
|
|
getFolder("Chrome", "icons"), // target folder
|
|
""); // target subdir
|
|
|
|
registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "content/venkman/");
|
|
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "skin/modern/venkman/");
|
|
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "locale/en-US/venkman/");
|
|
|
|
if (err==SUCCESS)
|
|
performInstall();
|
|
else
|
|
cancelInstall(err);
|
|
}
|
|
else
|
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|