toggle cpu and hardware spoofing

This commit is contained in:
leminlimez
2024-12-06 15:03:51 -05:00
parent 0a97e66756
commit c899ab091f
5 changed files with 519 additions and 391 deletions

View File

@@ -220,9 +220,9 @@ class MobileGestaltPickerTweak(Tweak):
plist["CacheExtra"][self.key][self.subkey] = new_value
return plist
def set_selected_option(self, new_option: int):
def set_selected_option(self, new_option: int, is_enabled: bool = True):
self.selected_option = new_option
self.enabled = True
self.enabled = is_enabled
def get_selected_option(self) -> int:
return self.selected_option