Add check for MAX-Q

This commit is contained in:
Jakob 2023-03-14 20:32:17 +01:00 committed by GitHub
parent d985f60855
commit 25bd864e76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -299,6 +299,7 @@ namespace EnvyUpdate
GPUName = obj["VideoProcessor"].ToString().ToLower();
// Remove any 3GB, 6GB or similar from name. We don't need to know the VRAM to get results.
GPUName = Regex.Replace(GPUName, " \\d+gb", "");
GPUName = Regex.Replace(GPUName, " max-q", "");
GPUName = Regex.Replace(GPUName, "nvidia ", "");
}
else
@ -453,4 +454,4 @@ namespace EnvyUpdate
//TODO implement progress bar
}
}
}
}