Bios (macOS): support bios date detection

This commit is contained in:
李通洲
2023-06-29 11:26:35 +08:00
parent 4652002e8c
commit 9d4ec4ca65
+1
View File
@@ -48,6 +48,7 @@ void ffDetectBios(FFBiosResult* bios)
if(IORegistryEntryCreateCFProperties(registryEntry, &properties, kCFAllocatorDefault, kNilOptions) == kIOReturnSuccess)
{
ffCfDictGetString(properties, CFSTR("manufacturer"), &bios->biosVendor);
ffCfDictGetString(properties, CFSTR("time-stamp"), &bios->date);
CFRelease(properties);
}
IOObjectRelease(registryEntry);