forked from NG-SD-Plugins/PowerTools
Improve AMD 6800 handheld detection (#132)
Related to #131 tested on Aokzoe A1 Co-authored-by: Vincent Guilbert <vrguilbert@gmail.com> Reviewed-on: NG-SD-Plugins/PowerTools#132 Co-authored-by: drokath <vrguilbert@gmail.com> Co-committed-by: drokath <vrguilbert@gmail.com>
This commit is contained in:
parent
0b8e3deb92
commit
8f219a3255
4 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
use std::default::Default;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::default::Default;
|
||||
|
||||
/// Base JSON limits information
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
|
@ -131,7 +131,7 @@ impl Default for Base {
|
|||
name: "AMD R7 6800U".to_owned(),
|
||||
conditions: super::Conditions {
|
||||
dmi: None,
|
||||
cpuinfo: Some("model name\t+: AMD Ryzen 7 6800U\n".to_owned()),
|
||||
cpuinfo: Some("model name\t+: AMD Ryzen 7 6800U( with Radeon Graphics)?\n".to_owned()),
|
||||
os: None,
|
||||
command: None,
|
||||
file_exists: None,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use std::default::Default;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::default::Default;
|
||||
|
||||
/// Base JSON limits information
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
|
@ -191,7 +191,7 @@ impl Default for Base {
|
|||
name: "AMD R7 6800U".to_owned(),
|
||||
conditions: super::Conditions {
|
||||
dmi: None,
|
||||
cpuinfo: Some("model name\t+: AMD Ryzen 7 6800U\n".to_owned()),
|
||||
cpuinfo: Some("model name\t+: AMD Ryzen 7 6800U( with Radeon Graphics)?\n".to_owned()),
|
||||
os: None,
|
||||
command: None,
|
||||
file_exists: None,
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
"name": "AMD R7 6800U",
|
||||
"conditions": {
|
||||
"dmi": null,
|
||||
"cpuinfo": "model name\t+: AMD Ryzen 7 6800U\n",
|
||||
"cpuinfo": "model name\t+: AMD Ryzen 7 6800U( with Radeon Graphics)?\n",
|
||||
"os": null,
|
||||
"command": null,
|
||||
"file_exists": null
|
||||
|
|
|
@ -895,7 +895,7 @@
|
|||
"name": "AMD R7 6800U",
|
||||
"conditions": {
|
||||
"dmi": null,
|
||||
"cpuinfo": "model name\t+: AMD Ryzen 7 6800U\n",
|
||||
"cpuinfo": "model name\t+: AMD Ryzen 7 6800U( with Radeon Graphics)?\n",
|
||||
"os": null,
|
||||
"command": null,
|
||||
"file_exists": null
|
||||
|
|
Loading…
Reference in a new issue