final version (I hope)
This commit is contained in:
parent
4306c4f5b6
commit
e0115ba2dc
Binary file not shown.
|
@ -22,7 +22,7 @@ begin
|
||||||
if (eOld < eNew) and (eOld <> 0) then begin
|
if (eOld < eNew) and (eOld <> 0) then begin
|
||||||
eOld := eNew - eOld;
|
eOld := eNew - eOld;
|
||||||
//eOld := eOld *2; // this is only used for faster updates...
|
//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;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
|
@ -278,6 +278,8 @@ begin
|
||||||
ggeAll.Progress := 0;
|
ggeAll.Progress := 0;
|
||||||
ggeItem.Progress := 0;
|
ggeItem.Progress := 0;
|
||||||
cmdNext.Hide;
|
cmdNext.Hide;
|
||||||
|
if DirectoryExists(ExtractFilePath(ParamStr(0)) + 'temp\') then
|
||||||
|
DelDir(ExtractFilePath(ParamStr(0)) + 'temp\');
|
||||||
InstallCustom(ExtractFilePath(ParamStr(0)) + 'temp\', ChosenMod, eOS);
|
InstallCustom(ExtractFilePath(ParamStr(0)) + 'temp\', ChosenMod, eOS);
|
||||||
if Cancel then
|
if Cancel then
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user