mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 17:30:18 +01:00
30 lines
962 B
Plaintext
30 lines
962 B
Plaintext
|
var err = initInstall("DOM Inspector", "Inspector", "$Version$");
|
||
|
logComment("initInstall: " + err);
|
||
|
|
||
|
var fProgram = getFolder("Program");
|
||
|
var srDest = $SpaceRequired$;
|
||
|
|
||
|
if (verifyDiskSpace(fProgram, srDest))
|
||
|
{
|
||
|
err = addDirectory("", "$Version$", "viewer", fProgram, "", true);
|
||
|
logComment("addDirectory: " + err);
|
||
|
|
||
|
addFile("Inspector Command Line Handler",
|
||
|
"viewer/components/inspector-cmdline.js",
|
||
|
getFolder("Components"),
|
||
|
"");
|
||
|
|
||
|
var jarFolder = getFolder("Chrome", "inspector.jar");
|
||
|
registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/inspector/");
|
||
|
registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/modern/inspector/");
|
||
|
registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/inspector/");
|
||
|
registerChrome(LOCALE | DELAYED_CHROME, jarFolder, "locale/en-US/inspector/");
|
||
|
|
||
|
err = getLastError();
|
||
|
if (err==SUCCESS)
|
||
|
performInstall();
|
||
|
}
|
||
|
else
|
||
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||
|
|