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