mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 13:49:02 +00:00
fix get device os error on linux
This commit is contained in:
parent
fa31ca8e35
commit
e7c75d6b4a
1 changed files with 0 additions and 2 deletions
|
@ -82,8 +82,6 @@ const char * device_os() {
|
||||||
versionFile.close();
|
versionFile.close();
|
||||||
if (line.find("Android") != std::string::npos) {
|
if (line.find("Android") != std::string::npos) {
|
||||||
return "Android";
|
return "Android";
|
||||||
} else {
|
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "Linux";
|
return "Linux";
|
||||||
|
|
Loading…
Add table
Reference in a new issue