Improve AMD 6800 handheld detection #132

Merged
NGnius merged 1 commit from drokath/PowerTools:feature/improve_handheld_6800_detection into dev 2023-11-29 01:47:26 +00:00
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