bedrock version (#809)

This commit is contained in:
halperyon
2024-04-23 23:45:45 +00:00
committed by GitHub
parent 40320e5efa
commit e3cdecdb14
+4 -1
View File
@@ -150,8 +150,11 @@ static void detectOS(FFOSResult* os)
if(os->prettyName.length == 0)
ffStrbufAppendS(&os->prettyName, "Bedrock Linux");
parseFile("/bedrock"FASTFETCH_TARGET_DIR_ETC"/os-release", os);
return;
if(allRelevantValuesSet(os))
return;
}
parseFile(FASTFETCH_TARGET_DIR_ETC"/os-release", os);