We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09d464 commit e04f58cCopy full SHA for e04f58c
Il2CppDumper/Program.cs
@@ -89,16 +89,23 @@ static void Main(string[] args)
89
ShowHelp();
90
return;
91
}
92
- try
+ if (metadataPath == null)
93
{
94
- if (Init(il2cppPath, metadataPath, out var metadata, out var il2Cpp))
95
- {
96
- Dump(metadata, il2Cpp, outputDir);
97
- }
+ Console.WriteLine($"ERROR: Metadata file not found or encrypted.");
98
99
- catch (Exception e)
+ else
100
101
- Console.WriteLine(e);
+ try
+ {
+ if (Init(il2cppPath, metadataPath, out var metadata, out var il2Cpp))
102
+ Dump(metadata, il2Cpp, outputDir);
103
+ }
104
105
+ catch (Exception e)
106
107
+ Console.WriteLine(e);
108
109
110
if (config.RequireAnyKey)
111
0 commit comments