fixed error if destination folder did not exist already.
This commit is contained in:
parent
0668f94461
commit
a0849f9416
|
@ -243,7 +243,8 @@ begin
|
|||
end;
|
||||
finally
|
||||
if( isJavaNeeded() ) then
|
||||
UnZip(ExpandConstant('{tmp}')+'\java.zip',ExpandConstant('{app}'));
|
||||
if(ForceDirectories(ExpandConstant('{app}'))) then
|
||||
UnZip(ExpandConstant('{tmp}')+'\java.zip',ExpandConstant('{app}'));
|
||||
MinecraftDownloadPage.Hide;
|
||||
end;
|
||||
Result := True;
|
||||
|
|
Loading…
Reference in New Issue