fixed error if destination folder did not exist already.

This commit is contained in:
Kono Tyran
2021-08-14 16:56:54 -07:00
committed by Fabian Dill
parent 0668f94461
commit a0849f9416

View File

@@ -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;