pjs/xpinstall/packager/unix/editor.jst

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

var err = initInstall("Mozilla Editor", "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);
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