Fix up seamonkey install.js to be more correct. Still need to actually test this on an installer build.

This commit is contained in:
bryner%brianryner.com 2005-01-25 08:34:39 +00:00
Родитель 1bd28c7408
Коммит 3381aaaa2a
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -7,12 +7,14 @@ var srComponents = $SpaceRequired$:components;
if (verifyDiskSpace(fProgram, srChrome + srComponents))
{
err = addFile("", "0.1", "components", fProgram, "", true);
err = addDirectory("", "0.1", "components", fProgram, "components", true);
logComment("addDirectory components: " + err);
err = addDirectory("", "0.1", "chrome", fProgram, "", true);
err = addDirectory("", "0.1", "chrome", fProgram, "chrome", true);
logComment("addDirectory chrome: " + err);
registerChrome(PACKAGE | DELAYED_CHROME,
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome", "xforms.jar"),
"content/xforms/");
if (err == SUCCESS)
{
err = performInstall();