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
Showing only changes of commit 725febef50 - Show all commits

View file

@ -1,5 +1,5 @@
use std::default::Default;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::default::Default;
/// Base JSON limits information /// Base JSON limits information
#[derive(Serialize, Deserialize, Debug, Clone)] #[derive(Serialize, Deserialize, Debug, Clone)]
@ -131,7 +131,7 @@ impl Default for Base {
name: "AMD R7 6800U".to_owned(), name: "AMD R7 6800U".to_owned(),
conditions: super::Conditions { conditions: super::Conditions {
dmi: None, 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, os: None,
command: None, command: None,
file_exists: None, file_exists: None,

View file

@ -1,5 +1,5 @@
use std::default::Default;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::default::Default;
/// Base JSON limits information /// Base JSON limits information
#[derive(Serialize, Deserialize, Debug, Clone)] #[derive(Serialize, Deserialize, Debug, Clone)]
@ -191,7 +191,7 @@ impl Default for Base {
name: "AMD R7 6800U".to_owned(), name: "AMD R7 6800U".to_owned(),
conditions: super::Conditions { conditions: super::Conditions {
dmi: None, 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, os: None,
command: None, command: None,
file_exists: None, file_exists: None,

View file

@ -214,7 +214,7 @@
"name": "AMD R7 6800U", "name": "AMD R7 6800U",
"conditions": { "conditions": {
"dmi": null, "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, "os": null,
"command": null, "command": null,
"file_exists": null "file_exists": null

View file

@ -895,7 +895,7 @@
"name": "AMD R7 6800U", "name": "AMD R7 6800U",
"conditions": { "conditions": {
"dmi": null, "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, "os": null,
"command": null, "command": null,
"file_exists": null "file_exists": null