Add support for detecting NSIS (#14)

This commit is contained in:
SilasLaspada
2020-10-30 09:56:34 -06:00
committed by GitHub
parent 49eef3f45a
commit cf0c6126b9
3 changed files with 54 additions and 1 deletions

View File

@@ -172,7 +172,12 @@ namespace BurnOutSharp.FileType
protection = LaserLock.CheckContents(file, fileContent, includePosition);
if (!string.IsNullOrWhiteSpace(protection))
protections.Add(protection);
// NSIS
protection = NSIS.CheckContents(fileContent, includePosition);
if (!string.IsNullOrWhiteSpace(protection))
protections.Add(protection);
// PE Compact
protection = PECompact.CheckContents(fileContent, includePosition);
if (!string.IsNullOrWhiteSpace(protection))