feat: add option for using shorter CPU model name #331
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As discussed, here's a potential feature, shorter CPU model name.
Now, this could be too fragile of an implementation - let me know if you have better suggestions, or otherwise I understand if you want to forego this one entirely. I personally really like the shortened versions though:
AMD Ryzen 7 7800X3D 8-Core Processor (8)
->AMD Ryzen 7 7800X3D (8)
Intel® Core™ i5-6500 CPU @ 3.20GHz (4)
->Intel® Core™ i5-6500 (4)
I included a comment with a list of CPU model names I found from people's screenshots in the issues on this repo, as I only have the 2 CPUs above available to me personally.
The choice for
G
as the shorthand was because in my branch I had done a shortened GPU name first asg
so it made sense to relate the options. Just let me know if you want it changed though.I can update the changelog etc. if you this is indeed a feature you'd be interested in.