gecko/xpinstall/packager/windows/venkman.jst

28 lines
1004 B
Plaintext

var err = initInstall("JavaScript Debugger", "Venkman", "$Version$");
logComment("initInstall: " + err);
addFile("Venkman Service",
"bin/components/venkman-service.js",
getFolder("Components"),
"");
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/");
err = getLastError();
if (err==SUCCESS)
performInstall();
else
cancelInstall(err);