Compare commits

...

1 Commits

Author SHA1 Message Date
Kroese
fefe1af9e6 fix: CPU detection (#1035)
Refactor CPU string processing to remove 'th Gen' suffix.
2025-09-30 17:18:43 +02:00

View File

@@ -126,8 +126,8 @@ cpu() {
cpu="${cpu// [0-9] Core}" cpu="${cpu// [0-9] Core}"
cpu="${cpu// [0-9][0-9] Core}" cpu="${cpu// [0-9][0-9] Core}"
cpu="${cpu// [0-9][0-9][0-9] Core}" cpu="${cpu// [0-9][0-9][0-9] Core}"
cpu="${cpu// [0-9]th Gen}" cpu="${cpu//[0-9]th Gen }"
cpu="${cpu// [0-9][0-9]th Gen}" cpu="${cpu//[0-9][0-9]th Gen }"
cpu="${cpu// Processor/}" cpu="${cpu// Processor/}"
cpu="${cpu// Quad core/}" cpu="${cpu// Quad core/}"
cpu="${cpu// Dual core/}" cpu="${cpu// Dual core/}"