RetroZilla/xpinstall/packager/mac/venkman.jst

31 lines
1009 B
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
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);