mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
16 lines
412 B
C
16 lines
412 B
C
#include "bios.h"
|
|
#include "common/settings.h"
|
|
|
|
const char* ffDetectBios(FFBiosResult* bios)
|
|
{
|
|
if (!ffSettingsGetAndroidProperty("ro.bootloader", &bios->version))
|
|
ffSettingsGetAndroidProperty("ro.boot.bootloader", &bios->version);
|
|
|
|
if (ffStrbufIgnCaseEqualS(&bios->version, "unknown"))
|
|
ffStrbufClear(&bios->version);
|
|
|
|
ffStrbufSetStatic(&bios->type, "Bootloader");
|
|
|
|
return NULL;
|
|
}
|