feat: Improve CPU detection (#840)

This commit is contained in:
Kroese 2024-11-10 11:21:51 +01:00 committed by GitHub
parent 92b4cf5997
commit 5d75a9b039
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,6 +63,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"