mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Ignore case when parse /proc/cpuinfo
This commit is contained in:
parent
e0693f8ad8
commit
f39614aa5a
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue