Updated some of the checks for the search text for the summary.

This commit is contained in:
Cyrus 2021-01-07 16:00:56 -05:00
parent f361a49a74
commit 43c9f04d60

View File

@ -364,13 +364,13 @@ public class ReferenceManifestDetailsPageController
if (contentStr.contains("CRTM")) { if (contentStr.contains("CRTM")) {
crtm = true; crtm = true;
} else if (contentStr.contains("shimx64.efi") } else if (contentStr.contains("shimx64.efi")
&& contentStr.contains("bootmgfw.efi")) { || contentStr.contains("bootmgfw.efi")) {
bootManager = true; bootManager = true;
} else if (contentStr.contains("grubx64.efi") } else if (contentStr.contains("grubx64.efi")
&& contentStr.contains("winload.efi")) { || contentStr.contains("winload.efi")) {
osLoader = true; osLoader = true;
} else if (contentStr.contains("vmlinuz") } else if (contentStr.contains("vmlinuz")
&& contentStr.contains("ntoskrnl.exe")) { || contentStr.contains("ntoskrnl.exe")) {
osKernel = true; osKernel = true;
} else if (contentStr.contains("ACPI")) { } else if (contentStr.contains("ACPI")) {
acpiTables = true; acpiTables = true;
@ -392,7 +392,7 @@ public class ReferenceManifestDetailsPageController
} else { } else {
sigDb = true; sigDb = true;
} }
} else if (contentStr.contains("Secure Boot is Enabled")) { } else if (contentStr.contains("Secure Boot is enabled")) {
secureBoot = true; secureBoot = true;
} }
} }