This commit is contained in:
Anuken 2019-11-10 23:10:44 -05:00
parent 231ce28f74
commit eee06da6b4

View File

@ -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.");