mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 19:50:12 +01:00
25 lines
568 B
Plaintext
25 lines
568 B
Plaintext
|
var err = initInstall("Mozilla Javaconnect", "Javaconnect", "0.1");
|
||
|
logComment("initInstall: " + err);
|
||
|
|
||
|
var fProgram = getFolder("Program");
|
||
|
var srLibs = $SpaceRequired$:bin;
|
||
|
|
||
|
if (verifyDiskSpace(fProgram, srLibs))
|
||
|
{
|
||
|
err = addDirectory("", "0.1", "bin", fProgram, "", true);
|
||
|
logComment("addDirectory(): " + err);
|
||
|
|
||
|
if (err == SUCCESS)
|
||
|
{
|
||
|
err = performInstall();
|
||
|
logComment("performInstall() returned: " + err);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
cancelInstall();
|
||
|
logComment("cancelInstall() due to error: "+err);
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|