Skip to content

Commit

Permalink
Handle AMD Ryzen iGPU Cezanne vendor string special case
Browse files Browse the repository at this point in the history
  • Loading branch information
vjr committed Sep 28, 2022
1 parent a3c1ae6 commit edf6e9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Views/HardwareView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ public class About.HardwareView : Gtk.Grid {
{ "(AMD .*) [(].*", "\\1"},
{ "(AMD Ryzen) (.*)", "\\1 \\2"},
{ "(AMD [A-Z])(.*)", "\\1\\L\\2\\E"},
{ "Advanced Micro Devices, Inc\\. \\[.*?\\] .*? \\[(.*?)\\] .*", "\\1"},
{ "Advanced Micro Devices, Inc\\. \\[.*?\\] .*? \\[(.*?)\\] .*", "AMD® \\1"},
{ "Advanced Micro Devices, Inc\\. \\[.*?\\] (.*)", "AMD® \\1"},
{ "Graphics Controller", "Graphics"},
{ "Intel Corporation", "Intel®"},
{ "NVIDIA Corporation (.*) \\[(\\S*) (\\S*) (.*)\\]", "NVIDIA® \\\\\\4"}
Expand Down

0 comments on commit edf6e9e

Please sign in to comment.