From 60ad12f60912089a1b374a1fc48d3cf5c5a198d5 Mon Sep 17 00:00:00 2001 From: Vincent Guilbert Date: Sat, 25 Nov 2023 22:42:18 +0100 Subject: [PATCH] Improve AMD 6800 handheld detection --- backend/limits_core/src/json/base.rs | 4 ++-- backend/limits_srv/pt_limits.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/limits_core/src/json/base.rs b/backend/limits_core/src/json/base.rs index c08372a..7abf32d 100644 --- a/backend/limits_core/src/json/base.rs +++ b/backend/limits_core/src/json/base.rs @@ -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, diff --git a/backend/limits_srv/pt_limits.json b/backend/limits_srv/pt_limits.json index eea7711..198e5ee 100644 --- a/backend/limits_srv/pt_limits.json +++ b/backend/limits_srv/pt_limits.json @@ -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