gecko-dev/xpinstall/packager/mac/spellcheck.jst

26 строки
551 B
Plaintext
Исходник Обычный вид История

2003-07-29 02:25:25 +04:00
var srDest = $SpaceRequired$;
var err = initInstall("Mozilla Myspell Spellchecker", "Spellchecker", "$Version$");
logComment("initInstall: " + err);
fProgram = getFolder("Program");
logComment("fProgram: " + fProgram)
if (verifyDiskSpace(fProgram, srDest))
2003-07-29 02:25:25 +04:00
{
setPackageFolder(fProgram);
2003-07-29 02:25:25 +04:00
addDirectory("Spellchecker",
"$Version$",
"bin",
fProgram,
2003-07-29 02:25:25 +04:00
"");
if (err==SUCCESS)
performInstall();
else
cancelInstall(err);
}
else
cancelInstall(INSUFFICIENT_DISK_SPACE);