2001-11-29 12:36:46 +03:00
|
|
|
var err = initInstall("DOM Inspector", "Inspector", "$Version$");
|
|
|
|
logComment("initInstall: " + err);
|
|
|
|
|
|
|
|
var fProgram = getFolder("Program");
|
|
|
|
logComment("fProgram: " + fProgram);
|
|
|
|
|
|
|
|
err = addDirectory("", "$Version$", "bin", fProgram, "", true);
|
|
|
|
logComment("addDirectory: " + err);
|
|
|
|
|
2003-05-21 01:30:42 +04:00
|
|
|
addFile("Inspector Command Line Handler",
|
|
|
|
"bin/components/inspector-cmdline.js",
|
|
|
|
getFolder("Components"),
|
|
|
|
"");
|
|
|
|
|
2001-11-29 12:36:46 +03:00
|
|
|
var jarFolder = getFolder("Chrome", "inspector.jar");
|
|
|
|
registerChrome(PACKAGE | 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(err);
|