You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Ignore case when parse /proc/cpuinfo
This commit is contained in:
@@ -184,7 +184,7 @@ String OS_LinuxBSD::get_processor_name() const {
|
||||
|
||||
while (!f->eof_reached()) {
|
||||
const String line = f->get_line();
|
||||
if (line.contains("model name")) {
|
||||
if (line.to_lower().contains("model name")) {
|
||||
return line.split(":")[1].strip_edges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user