fix(about): CPU model name fetched twice

This commit is contained in:
Michael Aaron Murphy 2025-09-29 15:43:18 +02:00
parent 2d66960671
commit d7ee250c32
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -183,6 +183,7 @@ pub fn processor_name(bump: &Bump, name: &mut String) {
if let Some(info) = line.strip_prefix("model name") {
if let Some(info) = info.trim_start().strip_prefix(':') {
name.push_str(info.trim());
return;
}
break;