Don't allow remapper to run on obfuscated assemblies
This commit is contained in:
parent
5f448a7aee
commit
e4aa655683
@ -69,7 +69,13 @@ public class ReCodeItRemapper
|
||||
Stopwatch.Start();
|
||||
|
||||
var types = Module.GetTypes();
|
||||
|
||||
|
||||
if (!types.Any(t => t.Name.Contains("GClass")))
|
||||
{
|
||||
Logger.Log("You must de-obfuscate the assembly before remapping it.\n", ConsoleColor.Red);
|
||||
return;
|
||||
}
|
||||
|
||||
var tasks = new List<Task>(remapModels.Count);
|
||||
foreach (var remap in remapModels)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user