mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
6429c20466
Hopefully we can end the controversy. Fix #1483 #1038
18 lines
474 B
C
18 lines
474 B
C
#include "os.h"
|
|
#include "common/settings.h"
|
|
|
|
void ffDetectOSImpl(FFOSResult* os)
|
|
{
|
|
ffStrbufSetStatic(&os->name, "Android");
|
|
|
|
ffStrbufSetStatic(&os->id, "android");
|
|
|
|
ffSettingsGetAndroidProperty("ro.build.version.release", &os->version);
|
|
|
|
ffSettingsGetAndroidProperty("ro.build.version.release", &os->versionID);
|
|
|
|
ffSettingsGetAndroidProperty("ro.build.version.codename", &os->codename);
|
|
|
|
ffSettingsGetAndroidProperty("ro.build.id", &os->buildID);
|
|
}
|