From 64cece954f36889c472df2f936d5a06d2c9ce8b6 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sat, 3 May 2025 00:20:11 +0700 Subject: [PATCH] Correct Intel CPU generation check for CPUID spoofing --- Scripts/config_prodigy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index ab48488..19a8ad1 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -435,7 +435,7 @@ class ConfigProdigy: return self.cpuids.get("Broadwell") elif "Tiger Lake" in cpu_codename: return self.cpuids.get("Ice Lake") - elif "Ice Lake" not in cpu_codename and cpu_codename in cpu_data.IntelCPUGenerations[:57]: + elif "Ice Lake" not in cpu_codename and cpu_codename in cpu_data.IntelCPUGenerations[:34]: if not "Comet Lake" in cpu_codename: return self.cpuids.get("Comet Lake") if self.utils.parse_darwin_version(macos_version) < self.utils.parse_darwin_version("19.0.0"):