Merge branch 'Gobidev:main' into main

This commit is contained in:
OldWorldOrdr 2023-04-13 17:45:10 -04:00 committed by GitHub
commit aa30b62c38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,7 +228,7 @@ pub fn os(general_readout: &GeneralReadout) -> Option<String> {
Some("Bedrock Linux".to_string())
} else {
match general_readout.distribution() {
Ok(distribution) => Some(distribution),
Ok(distribution) => Some(distribution.replace(" TEMPLATE_VERSION_ID", "")),
Err(_) => None,
}
}