CLI: Handle metadata+binary exceptions the same way as package exceptions
This commit is contained in:
@@ -196,8 +196,14 @@ namespace Il2CppInspector.CLI
|
||||
return 1;
|
||||
}
|
||||
|
||||
try {
|
||||
il2cppInspectors = Il2CppInspector.LoadFromFile(options.BinaryFiles.First(), options.MetadataFile);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
Console.Error.WriteLine(ex.Message);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (il2cppInspectors == null)
|
||||
|
||||
Reference in New Issue
Block a user