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