mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 17:41:41 +01:00
Host (Windows): detect serial number and UUID
This commit is contained in:
@@ -27,7 +27,7 @@ static void getHostProductName(FFstrbuf* name)
|
||||
ffStrbufClear(name);
|
||||
}
|
||||
|
||||
const char* ffDetectHost(FFHostResult* host)
|
||||
const char* ffDetectHost(FFHostResult* host, FF_MAYBE_UNUSED FFHostOptions* options)
|
||||
{
|
||||
ffGetSmbiosValue("/sys/devices/virtual/dmi/id/product_family", "/sys/class/dmi/id/product_family", &host->family);
|
||||
getHostProductName(&host->name);
|
||||
|
||||
Reference in New Issue
Block a user