feat: Improve CPU detection (#150)
This commit is contained in:
parent
52c89503cc
commit
9c6fbe9ea8
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ if [ -z "${CPU// /}" ] && grep -qi "model:" <<< "$CPI"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CPU="${CPU// CPU/}"
|
CPU="${CPU// CPU/}"
|
||||||
|
CPU="${CPU// 16 Core/}"
|
||||||
|
CPU="${CPU// Processor/}"
|
||||||
CPU="${CPU// Quad core/}"
|
CPU="${CPU// Quad core/}"
|
||||||
CPU="${CPU// with Radeon Graphics/}"
|
CPU="${CPU// with Radeon Graphics/}"
|
||||||
[ -z "${CPU// /}" ] && CPU="Unknown"
|
[ -z "${CPU// /}" ] && CPU="Unknown"
|
||||||
|
|
Loading…
Reference in a new issue