mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-16 12:30:13 +01:00
31 lines
1009 B
Plaintext
31 lines
1009 B
Plaintext
var srDest = $SpaceRequired$;
|
|
|
|
var err = initInstall("JavaScript Debugger", "Venkman", "$Version$");
|
|
logComment("initInstall: " + err);
|
|
|
|
var fProgram = getFolder("Program");
|
|
|
|
if (verifyDiskSpace(fProgram, srDest))
|
|
{
|
|
addFile("Venkman Service",
|
|
"viewer/Components/venkman-service.js",
|
|
getFolder(fProgram,"Components"),
|
|
"");
|
|
|
|
addFile("Venkman Chrome",
|
|
"viewer/chrome/venkman.jar", // jar source folder
|
|
getFolder("Chrome"), // 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);
|