bedrock version (#809)

This commit is contained in:
halperyon authored and GitHub committed 2024-04-24 07:45:45 +08:00
1 parent 40320e5efa
commit e3cdecdb14
1 file changed
+4 -1
+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);