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:
drokath 2023-11-29 01:47:25 +00:00 committed by NGnius
parent 0b8e3deb92
commit 8f219a3255
4 changed files with 6 additions and 6 deletions

View file

@ -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,

View file

@ -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,

View file

@ -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

View file

@ -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