Move resource helpers to PortableExecutable

This commit is contained in:
Matt Nadareski
2022-04-02 15:54:51 -07:00
parent 32695ee6dd
commit 61c09e3c97
27 changed files with 335 additions and 352 deletions

View File

@@ -54,7 +54,7 @@ namespace BurnOutSharp.ProtectionType
if (sections == null)
return null;
string name = Utilities.GetFileDescription(pex);
string name = pex.GetFileDescription();
if (!string.IsNullOrWhiteSpace(name) && name.Equals("SafeCast2", StringComparison.OrdinalIgnoreCase))
return $"SafeCast";