final version (I hope)

This commit is contained in:
Christian Hammacher 2006-08-01 17:26:14 +00:00
parent 4306c4f5b6
commit e0115ba2dc
3 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -22,7 +22,7 @@ begin
if (eOld < eNew) and (eOld <> 0) then begin
eOld := eNew - eOld;
//eOld := eOld *2; // this is only used for faster updates...
Result := 'AMX Mod X Installer - Uploading with ' + FloatToStr(RoundTo(eOld / 1024, -2)) + ' kb/s';
Result := 'AMX Mod X Installer - Uploading at ' + FloatToStr(RoundTo(eOld / 1024, -2)) + ' kb/s';
end;
end;

View File

@ -278,6 +278,8 @@ begin
ggeAll.Progress := 0;
ggeItem.Progress := 0;
cmdNext.Hide;
if DirectoryExists(ExtractFilePath(ParamStr(0)) + 'temp\') then
DelDir(ExtractFilePath(ParamStr(0)) + 'temp\');
InstallCustom(ExtractFilePath(ParamStr(0)) + 'temp\', ChosenMod, eOS);
if Cancel then
exit;