From 066ba7542fe55d3397f7c37d9196e75cb8717af7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 10 Nov 2024 11:20:04 +0100 Subject: [PATCH] feat: Improve CPU detection --- src/reset.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/reset.sh b/src/reset.sh index 76efec1..159d829 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -64,6 +64,8 @@ if [ -z "${CPU// /}" ] && grep -qi "model:" <<< "$CPI"; then fi CPU="${CPU// CPU/}" +CPU="${CPU// 16 Core/}" +CPU="${CPU// Processor/}" CPU="${CPU// Quad core/}" CPU="${CPU// with Radeon Graphics/}" [ -z "${CPU// /}" ] && CPU="Unknown"