mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-11-10 15:05:23 +03:00
again
This commit is contained in:
parent
231ce28f74
commit
eee06da6b4
@ -94,8 +94,18 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
||||
//cons.get(new FileHandle(url.getAbsoluteString()));
|
||||
}catch(Throwable t){
|
||||
ui.showException(t);
|
||||
}finally{
|
||||
//url.stopAccessingSecurityScopedResource();
|
||||
|
||||
try{
|
||||
cons.get(new FileHandle(url.getPath()));
|
||||
}catch(Throwable t2){
|
||||
ui.showException(t2);
|
||||
|
||||
try{
|
||||
cons.get(new FileHandle(url.getAbsoluteURL().getPath()));
|
||||
}catch(Throwable t3){
|
||||
ui.showException(t3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}else{
|
||||
ui.showErrorMessage("Failed to access file.");
|
||||
|
Loading…
Reference in New Issue
Block a user