pjs/xpinstall/packager/unix/mail.jst

31 строка
850 B
Plaintext
Исходник Обычный вид История

var err = initInstall("Mozilla Mail", "Seamonkey", "$Version$");
logComment("initInstall: " + err);
1999-10-19 01:44:15 +04:00
var communicatorFolder = getFolder("Program");
logComment("communicatorFolder: " + communicatorFolder);
1999-10-19 01:44:15 +04:00
err = addDirectory("Program",
1999-10-19 01:44:15 +04:00
"$Version$",
"bin", // jar source folder
communicatorFolder, // target folder
"", // target subdir
true ); // force flag
1999-10-19 01:44:15 +04:00
logComment("addDirectory() returned: " + err);
1999-10-19 01:44:15 +04:00
registerChrome(CONTENT | DELAYED_CHROME,
getFolder("Chrome","packages/messenger"));
err = getLastError();
if (err==SUCCESS)
{
err = performInstall();
logComment("performInstall() returned: " + err);
}
else
{
cancelInstall(err);
logComment("cancelInstall() due to error: " + err);
}
1999-10-19 01:44:15 +04:00