mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
remove depreciated cli leftovers
This commit is contained in:
@@ -23,11 +23,10 @@ def replace_region_code(plist_path: str, original_code: str = "US", new_code: st
|
|||||||
|
|
||||||
class EligibilityTweak(Tweak):
|
class EligibilityTweak(Tweak):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, label: str,
|
self,
|
||||||
min_version: Version = Version("1.0"),
|
min_version: Version = Version("1.0")
|
||||||
divider_below: bool = False
|
|
||||||
):
|
):
|
||||||
super().__init__(label=label, key=None, value=["Method 1", "Method 2"], edit_type=TweakModifyType.PICKER, min_version=min_version, divider_below=divider_below)
|
super().__init__(key=None, value=["Method 1", "Method 2"], edit_type=TweakModifyType.PICKER, min_version=min_version)
|
||||||
self.code = "US"
|
self.code = "US"
|
||||||
self.method = 0 # between 0 and 1
|
self.method = 0 # between 0 and 1
|
||||||
|
|
||||||
@@ -90,7 +89,7 @@ class EligibilityTweak(Tweak):
|
|||||||
|
|
||||||
class AITweak(Tweak):
|
class AITweak(Tweak):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(label="Enable Apple Intelligence (for Unsupported Devices) (Eligibility)", key=None, value="", min_version=Version("18.1"))
|
super().__init__(key=None, value="", min_version=Version("18.1"))
|
||||||
|
|
||||||
def set_language_code(self, lang: str):
|
def set_language_code(self, lang: str):
|
||||||
self.value = lang
|
self.value = lang
|
||||||
|
|||||||
@@ -9,23 +9,19 @@ class TweakModifyType(Enum):
|
|||||||
|
|
||||||
class Tweak:
|
class Tweak:
|
||||||
def __init__(
|
def __init__(
|
||||||
self, label: str,
|
self,
|
||||||
key: str, subkey: str = None,
|
key: str,
|
||||||
value: any = 1,
|
value: any = 1,
|
||||||
edit_type: TweakModifyType = TweakModifyType.TOGGLE,
|
edit_type: TweakModifyType = TweakModifyType.TOGGLE,
|
||||||
min_version: Version = Version("1.0"),
|
min_version: Version = Version("1.0"),
|
||||||
owner: int = 501, group: int = 501,
|
owner: int = 501, group: int = 501
|
||||||
divider_below: bool = False
|
|
||||||
):
|
):
|
||||||
self.label = label
|
|
||||||
self.key = key
|
self.key = key
|
||||||
self.subkey = subkey
|
|
||||||
self.value = value
|
self.value = value
|
||||||
self.min_version = min_version
|
self.min_version = min_version
|
||||||
self.edit_type = edit_type
|
self.edit_type = edit_type
|
||||||
self.owner = owner
|
self.owner = owner
|
||||||
self.group = group
|
self.group = group
|
||||||
self.divider_below = divider_below
|
|
||||||
self.enabled = False
|
self.enabled = False
|
||||||
|
|
||||||
def set_enabled(self, value: bool):
|
def set_enabled(self, value: bool):
|
||||||
@@ -45,13 +41,12 @@ class Tweak:
|
|||||||
|
|
||||||
class NullifyFileTweak(Tweak):
|
class NullifyFileTweak(Tweak):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, label: str,
|
self,
|
||||||
file_location: FileLocation,
|
file_location: FileLocation,
|
||||||
min_version: Version = Version("1.0"),
|
min_version: Version = Version("1.0"),
|
||||||
owner: int = 501, group: int = 501,
|
owner: int = 501, group: int = 501
|
||||||
divider_below: bool = False
|
|
||||||
):
|
):
|
||||||
super().__init__(label=label, key=None, value=None, min_version=min_version, owner=owner, group=group, divider_below=divider_below)
|
super().__init__(key=None, value=None, min_version=min_version, owner=owner, group=group)
|
||||||
self.file_location = file_location
|
self.file_location = file_location
|
||||||
|
|
||||||
def apply_tweak(self, other_tweaks: dict):
|
def apply_tweak(self, other_tweaks: dict):
|
||||||
@@ -61,17 +56,16 @@ class NullifyFileTweak(Tweak):
|
|||||||
|
|
||||||
class BasicPlistTweak(Tweak):
|
class BasicPlistTweak(Tweak):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, label: str,
|
self,
|
||||||
file_location: FileLocation,
|
file_location: FileLocation,
|
||||||
key: str,
|
key: str,
|
||||||
value: any = True,
|
value: any = True,
|
||||||
edit_type: TweakModifyType = TweakModifyType.TOGGLE,
|
edit_type: TweakModifyType = TweakModifyType.TOGGLE,
|
||||||
min_version: Version = Version("1.0"),
|
min_version: Version = Version("1.0"),
|
||||||
owner: int = 501, group: int = 501,
|
owner: int = 501, group: int = 501,
|
||||||
is_risky: bool = False,
|
is_risky: bool = False
|
||||||
divider_below: bool = False
|
|
||||||
):
|
):
|
||||||
super().__init__(label=label, key=key, subkey=None, value=value, edit_type=edit_type, min_version=min_version, owner=owner, group=group, divider_below=divider_below)
|
super().__init__(key=key, value=value, edit_type=edit_type, min_version=min_version, owner=owner, group=group)
|
||||||
self.file_location = file_location
|
self.file_location = file_location
|
||||||
self.is_risky = is_risky
|
self.is_risky = is_risky
|
||||||
|
|
||||||
@@ -86,16 +80,15 @@ class BasicPlistTweak(Tweak):
|
|||||||
|
|
||||||
class AdvancedPlistTweak(BasicPlistTweak):
|
class AdvancedPlistTweak(BasicPlistTweak):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, label: str,
|
self,
|
||||||
file_location: FileLocation,
|
file_location: FileLocation,
|
||||||
keyValues: dict,
|
keyValues: dict,
|
||||||
edit_type: TweakModifyType = TweakModifyType.TOGGLE,
|
edit_type: TweakModifyType = TweakModifyType.TOGGLE,
|
||||||
min_version: Version = Version("1.0"),
|
min_version: Version = Version("1.0"),
|
||||||
owner: int = 501, group: int = 501,
|
owner: int = 501, group: int = 501,
|
||||||
is_risky: bool = False,
|
is_risky: bool = False
|
||||||
divider_below: bool = False
|
|
||||||
):
|
):
|
||||||
super().__init__(label=label, file_location=file_location, key=None, value=keyValues, edit_type=edit_type, min_version=min_version, owner=owner, group=group, is_risky=is_risky, divider_below=divider_below)
|
super().__init__(file_location=file_location, key=None, value=keyValues, edit_type=edit_type, min_version=min_version, owner=owner, group=group, is_risky=is_risky)
|
||||||
|
|
||||||
def set_multiple_values(self, keys: list[str], value: any):
|
def set_multiple_values(self, keys: list[str], value: any):
|
||||||
for key in keys:
|
for key in keys:
|
||||||
@@ -112,8 +105,8 @@ class AdvancedPlistTweak(BasicPlistTweak):
|
|||||||
|
|
||||||
|
|
||||||
class RdarFixTweak(BasicPlistTweak):
|
class RdarFixTweak(BasicPlistTweak):
|
||||||
def __init__(self, divider_below: bool = False):
|
def __init__(self):
|
||||||
super().__init__(label="Fix RDAR (modifies resolution)", file_location=FileLocation.resolution, key=None, divider_below=divider_below)
|
super().__init__(file_location=FileLocation.resolution, key=None)
|
||||||
self.mode = 0
|
self.mode = 0
|
||||||
self.di_type = -1
|
self.di_type = -1
|
||||||
|
|
||||||
@@ -201,13 +194,13 @@ class MobileGestaltTweak(Tweak):
|
|||||||
|
|
||||||
class MobileGestaltPickerTweak(Tweak):
|
class MobileGestaltPickerTweak(Tweak):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, label: str,
|
self,
|
||||||
key: str, subkey: str = None,
|
key: str, subkey: str = None,
|
||||||
values: list = [1],
|
values: list = [1],
|
||||||
min_version: Version = Version("1.0"),
|
min_version: Version = Version("1.0")
|
||||||
divider_below: bool = False
|
|
||||||
):
|
):
|
||||||
super().__init__(label=label, key=key, subkey=subkey, value=values, edit_type=TweakModifyType.PICKER, min_version=min_version, divider_below=divider_below)
|
super().__init__(key=key, value=values, edit_type=TweakModifyType.PICKER, min_version=min_version)
|
||||||
|
self.subkey = subkey
|
||||||
self.selected_option = 0 # index of the selected option
|
self.selected_option = 0 # index of the selected option
|
||||||
|
|
||||||
def apply_tweak(self, plist: dict):
|
def apply_tweak(self, plist: dict):
|
||||||
@@ -228,8 +221,8 @@ class MobileGestaltPickerTweak(Tweak):
|
|||||||
return self.selected_option
|
return self.selected_option
|
||||||
|
|
||||||
class MobileGestaltMultiTweak(Tweak):
|
class MobileGestaltMultiTweak(Tweak):
|
||||||
def __init__(self, label: str, keyValues: dict, min_version: Version = Version("1.0"), divider_below: bool = False):
|
def __init__(self, keyValues: dict, min_version: Version = Version("1.0")):
|
||||||
super().__init__(label=label, key=None, min_version=min_version, divider_below=divider_below)
|
super().__init__(key=None, min_version=min_version)
|
||||||
self.keyValues = keyValues
|
self.keyValues = keyValues
|
||||||
# key values looks like ["key name" = value]
|
# key values looks like ["key name" = value]
|
||||||
|
|
||||||
@@ -242,13 +235,12 @@ class MobileGestaltMultiTweak(Tweak):
|
|||||||
|
|
||||||
class FeatureFlagTweak(Tweak):
|
class FeatureFlagTweak(Tweak):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, label: str,
|
self,
|
||||||
flag_category: str, flag_names: list,
|
flag_category: str, flag_names: list,
|
||||||
is_list: bool=True, inverted: bool=False,
|
is_list: bool=True, inverted: bool=False,
|
||||||
min_version: Version = Version("1.0"),
|
min_version: Version = Version("1.0")
|
||||||
divider_below: bool = False
|
|
||||||
):
|
):
|
||||||
super().__init__(label=label, key=None, min_version=min_version, divider_below=divider_below)
|
super().__init__(key=None, min_version=min_version)
|
||||||
self.flag_category = flag_category
|
self.flag_category = flag_category
|
||||||
self.flag_names = flag_names
|
self.flag_names = flag_names
|
||||||
self.is_list = is_list
|
self.is_list = is_list
|
||||||
|
|||||||
@@ -5,44 +5,44 @@ from .basic_plist_locations import FileLocation
|
|||||||
|
|
||||||
tweaks = {
|
tweaks = {
|
||||||
## MobileGestalt Tweaks
|
## MobileGestalt Tweaks
|
||||||
"DynamicIsland": MobileGestaltPickerTweak("Toggle Dynamic Island", "oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceSubType", [2436, 2556, 2796, 2976, 2622, 2868]),
|
"DynamicIsland": MobileGestaltPickerTweak("oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceSubType", [2436, 2556, 2796, 2976, 2622, 2868]),
|
||||||
"RdarFix": RdarFixTweak(),
|
"RdarFix": RdarFixTweak(),
|
||||||
"ModelName": MobileGestaltTweak("Set Device Model Name", "oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceProductDescription", "", TweakModifyType.TEXT),
|
"ModelName": MobileGestaltTweak("oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceProductDescription", "", TweakModifyType.TEXT),
|
||||||
"BootChime": MobileGestaltTweak("Toggle Boot Chime", "QHxt+hGLaBPbQJbXiUJX3w"),
|
"BootChime": MobileGestaltTweak("QHxt+hGLaBPbQJbXiUJX3w"),
|
||||||
"ChargeLimit": MobileGestaltTweak("Toggle Charge Limit", "37NVydb//GP/GrhuTN+exg"),
|
"ChargeLimit": MobileGestaltTweak("37NVydb//GP/GrhuTN+exg"),
|
||||||
"CollisionSOS": MobileGestaltTweak("Toggle Collision SOS", "HCzWusHQwZDea6nNhaKndw"),
|
"CollisionSOS": MobileGestaltTweak("HCzWusHQwZDea6nNhaKndw"),
|
||||||
"TapToWake": MobileGestaltTweak("Toggle Tap To Wake (iPhone SE)", "yZf3GTRMGTuwSV/lD7Cagw"),
|
"TapToWake": MobileGestaltTweak("yZf3GTRMGTuwSV/lD7Cagw"),
|
||||||
"CameraButton": MobileGestaltMultiTweak("Toggle iPhone 16 Settings", {"CwvKxM2cEogD3p+HYgaW0Q": 1, "oOV1jhJbdV3AddkcCg0AEA": 1}, min_version=Version("18.0")),
|
"CameraButton": MobileGestaltMultiTweak({"CwvKxM2cEogD3p+HYgaW0Q": 1, "oOV1jhJbdV3AddkcCg0AEA": 1}, min_version=Version("18.0")),
|
||||||
"Parallax": MobileGestaltTweak("Disable Wallpaper Parallax", "UIParallaxCapability", value=0),
|
"Parallax": MobileGestaltTweak("UIParallaxCapability", value=0),
|
||||||
"StageManager": MobileGestaltTweak("Toggle Stage Manager Supported (WARNING: risky on some devices, mainly phones)", "qeaj75wk3HF4DwQ8qbIi7g", value=1),
|
"StageManager": MobileGestaltTweak("qeaj75wk3HF4DwQ8qbIi7g", value=1),
|
||||||
"Medusa": MobileGestaltMultiTweak("Toggle Medusa (iPad Multitasking) (WARNING: may be risky on some phones)", {"mG0AnH/Vy1veoqoLRAIgTA": 1, "UCG5MkVahJxG1YULbbd5Bg": 1, "ZYqko/XM5zD3XBfN5RmaXA": 1, "nVh/gwNpy7Jv1NOk00CMrw": 1, "uKc7FPnEO++lVhHWHFlGbQ": 1}),
|
"Medusa": MobileGestaltMultiTweak({"mG0AnH/Vy1veoqoLRAIgTA": 1, "UCG5MkVahJxG1YULbbd5Bg": 1, "ZYqko/XM5zD3XBfN5RmaXA": 1, "nVh/gwNpy7Jv1NOk00CMrw": 1, "uKc7FPnEO++lVhHWHFlGbQ": 1}),
|
||||||
"iPadApps": MobileGestaltTweak("Allow iPad Apps on iPhone", "9MZ5AdH43csAUajl/dU+IQ", value=[1, 2]),
|
"iPadApps": MobileGestaltTweak("9MZ5AdH43csAUajl/dU+IQ", value=[1, 2]),
|
||||||
"Shutter": MobileGestaltMultiTweak("Disable Region Restrictions (ie. Shutter Sound)", {"h63QSdBCiT/z0WU6rdQv6Q": "US", "zHeENZu+wbg7PUprwNwBWg": "LL/A"}),
|
"Shutter": MobileGestaltMultiTweak({"h63QSdBCiT/z0WU6rdQv6Q": "US", "zHeENZu+wbg7PUprwNwBWg": "LL/A"}),
|
||||||
"FindMyFriends": MobileGestaltTweak("Toggle Find My Friends", "Y2Y67z0Nq/XdDXgW2EeaVg"),
|
"FindMyFriends": MobileGestaltTweak("Y2Y67z0Nq/XdDXgW2EeaVg"),
|
||||||
"Pencil": MobileGestaltTweak("Toggle Apple Pencil", "yhHcB0iH0d1XzPO/CFd3ow"),
|
"Pencil": MobileGestaltTweak("yhHcB0iH0d1XzPO/CFd3ow"),
|
||||||
"ActionButton": MobileGestaltTweak("Toggle Action Button", "cT44WE1EohiwRzhsZ8xEsw"),
|
"ActionButton": MobileGestaltTweak("cT44WE1EohiwRzhsZ8xEsw"),
|
||||||
"InternalStorage": MobileGestaltTweak("Toggle Internal Storage (WARNING: risky for some devices, mainly iPads)", "LBJfwOEzExRxzlAnSuI7eg"),
|
"InternalStorage": MobileGestaltTweak("LBJfwOEzExRxzlAnSuI7eg"),
|
||||||
"InternalInstall": MobileGestaltTweak("Set as Apple Internal Install (ie Metal HUD in any app)", "EqrsVvjcYDdxHBiQmGhAWw", divider_below=True),
|
"InternalInstall": MobileGestaltTweak("EqrsVvjcYDdxHBiQmGhAWw"),
|
||||||
"EUEnabler": EligibilityTweak("EU Enabler", divider_below=True),
|
"EUEnabler": EligibilityTweak(),
|
||||||
"AOD": MobileGestaltMultiTweak("Always On Display",
|
"AOD": MobileGestaltMultiTweak(
|
||||||
{"2OOJf1VhaM7NxfRok3HbWQ": 1, "j8/Omm6s1lsmTDFsXjsBfA": 1},
|
{"2OOJf1VhaM7NxfRok3HbWQ": 1, "j8/Omm6s1lsmTDFsXjsBfA": 1},
|
||||||
min_version=Version("18.0")),
|
min_version=Version("18.0")),
|
||||||
"AODVibrancy": MobileGestaltTweak("AOD Vibrancy", "ykpu7qyhqFweVMKtxNylWA", min_version=Version("18.0")),
|
"AODVibrancy": MobileGestaltTweak("ykpu7qyhqFweVMKtxNylWA", min_version=Version("18.0")),
|
||||||
|
|
||||||
## Feature Flag Tweaks
|
## Feature Flag Tweaks
|
||||||
"ClockAnim": FeatureFlagTweak("Toggle Lockscreen Clock Animation", flag_category='SpringBoard',
|
"ClockAnim": FeatureFlagTweak(flag_category='SpringBoard',
|
||||||
flag_names=['SwiftUITimeAnimation'],
|
flag_names=['SwiftUITimeAnimation'],
|
||||||
min_version=Version("18.0")),
|
min_version=Version("18.0")),
|
||||||
"Lockscreen": FeatureFlagTweak("Toggle Duplicate Lockscreen Button and Lockscreen Quickswitch", flag_category="SpringBoard",
|
"Lockscreen": FeatureFlagTweak(flag_category="SpringBoard",
|
||||||
flag_names=['AutobahnQuickSwitchTransition', 'SlipSwitch', 'PosterEditorKashida'],
|
flag_names=['AutobahnQuickSwitchTransition', 'SlipSwitch', 'PosterEditorKashida'],
|
||||||
min_version=Version("18.0")),
|
min_version=Version("18.0")),
|
||||||
"PhotoUI": FeatureFlagTweak("Enable Old Photo UI", flag_category='Photos', flag_names=['Lemonade'], is_list=False, inverted=True, min_version=Version("18.0")),
|
"PhotoUI": FeatureFlagTweak(flag_category='Photos', flag_names=['Lemonade'], is_list=False, inverted=True, min_version=Version("18.0")),
|
||||||
"AI": FeatureFlagTweak("Enable Apple Intelligence", flag_category='SpringBoard', flag_names=['Domino', 'SuperDomino'], min_version=Version("18.1"), divider_below=True),
|
"AI": FeatureFlagTweak(flag_category='SpringBoard', flag_names=['Domino', 'SuperDomino'], min_version=Version("18.1")),
|
||||||
|
|
||||||
## AI Enabler
|
## AI Enabler
|
||||||
"AIEligibility": AITweak(),
|
"AIEligibility": AITweak(),
|
||||||
"AIGestalt": MobileGestaltTweak("Enable Apple Intelligence (for Unsupported Devices) (Gestalt)", "A62OafQ85EJAiiqKn4agtg", min_version=Version("18.1")),
|
"AIGestalt": MobileGestaltTweak("A62OafQ85EJAiiqKn4agtg", min_version=Version("18.1")),
|
||||||
"SpoofModel": MobileGestaltPickerTweak("Spoofed Device Model", "h9jDsbgj7xIVeIQ8S3/X3Q", values=[
|
"SpoofModel": MobileGestaltPickerTweak("h9jDsbgj7xIVeIQ8S3/X3Q", values=[
|
||||||
# Default
|
# Default
|
||||||
"Placeholder", # 0 | Original
|
"Placeholder", # 0 | Original
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ tweaks = {
|
|||||||
"iPad13,16", # 25 | iPad Air (M1) (W)
|
"iPad13,16", # 25 | iPad Air (M1) (W)
|
||||||
"iPad13,17", # 26 | iPad Air (M1) (C)
|
"iPad13,17", # 26 | iPad Air (M1) (C)
|
||||||
], min_version=Version("18.1")),
|
], min_version=Version("18.1")),
|
||||||
"SpoofHardware": MobileGestaltPickerTweak("Spoof Hardware Model", "oYicEKzVTz4/CxxE05pEgQ", values=[
|
"SpoofHardware": MobileGestaltPickerTweak("oYicEKzVTz4/CxxE05pEgQ", values=[
|
||||||
# Default
|
# Default
|
||||||
"Placeholder", # 0 | Original
|
"Placeholder", # 0 | Original
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ tweaks = {
|
|||||||
"J407AP", # 25 | iPad Air (M1) (W)
|
"J407AP", # 25 | iPad Air (M1) (W)
|
||||||
"J408AP", # 26 | iPad Air (M1) (C)
|
"J408AP", # 26 | iPad Air (M1) (C)
|
||||||
], min_version=Version("18.1")),
|
], min_version=Version("18.1")),
|
||||||
"SpoofCPU": MobileGestaltPickerTweak("Spoof CPU Model", "5pYKlGnYYBzGvAlIU8RjEQ", values=[
|
"SpoofCPU": MobileGestaltPickerTweak("5pYKlGnYYBzGvAlIU8RjEQ", values=[
|
||||||
# Default
|
# Default
|
||||||
"Placeholder", # 0 | Original
|
"Placeholder", # 0 | Original
|
||||||
|
|
||||||
@@ -161,117 +161,95 @@ tweaks = {
|
|||||||
"t8103", # 24 | iPad Pro (12.9-inch) (M1) (C)
|
"t8103", # 24 | iPad Pro (12.9-inch) (M1) (C)
|
||||||
"t8103", # 25 | iPad Air (M1) (W)
|
"t8103", # 25 | iPad Air (M1) (W)
|
||||||
"t8103", # 26 | iPad Air (M1) (C)
|
"t8103", # 26 | iPad Air (M1) (C)
|
||||||
], min_version=Version("18.1"), divider_below=True),
|
], min_version=Version("18.1")),
|
||||||
|
|
||||||
## Springboard Tweaks
|
## Springboard Tweaks
|
||||||
"LockScreenFootnote": BasicPlistTweak(
|
"LockScreenFootnote": BasicPlistTweak(
|
||||||
"Set Lock Screen Footnote Text",
|
|
||||||
FileLocation.footnote,
|
FileLocation.footnote,
|
||||||
key="LockScreenFootnote", value="",
|
key="LockScreenFootnote", value="",
|
||||||
edit_type=TweakModifyType.TEXT
|
edit_type=TweakModifyType.TEXT
|
||||||
),
|
),
|
||||||
"SBDontLockAfterCrash": BasicPlistTweak(
|
"SBDontLockAfterCrash": BasicPlistTweak(
|
||||||
"Disable Lock After Respring",
|
|
||||||
FileLocation.springboard,
|
FileLocation.springboard,
|
||||||
"SBDontLockAfterCrash"
|
"SBDontLockAfterCrash"
|
||||||
),
|
),
|
||||||
"SBDontDimOrLockOnAC": BasicPlistTweak(
|
"SBDontDimOrLockOnAC": BasicPlistTweak(
|
||||||
"Disable Screen Dimming While Charging",
|
|
||||||
FileLocation.springboard,
|
FileLocation.springboard,
|
||||||
"SBDontDimOrLockOnAC"
|
"SBDontDimOrLockOnAC"
|
||||||
),
|
),
|
||||||
"SBHideLowPowerAlerts": BasicPlistTweak(
|
"SBHideLowPowerAlerts": BasicPlistTweak(
|
||||||
"Disable Low Battery Alerts",
|
|
||||||
FileLocation.springboard,
|
FileLocation.springboard,
|
||||||
"SBHideLowPowerAlerts"
|
"SBHideLowPowerAlerts"
|
||||||
),
|
),
|
||||||
"SBNeverBreadcrumb": BasicPlistTweak(
|
"SBNeverBreadcrumb": BasicPlistTweak(
|
||||||
"Disable Breadcrumb",
|
|
||||||
FileLocation.springboard,
|
FileLocation.springboard,
|
||||||
"SBNeverBreadcrumb"
|
"SBNeverBreadcrumb"
|
||||||
),
|
),
|
||||||
"SBShowSupervisionTextOnLockScreen": BasicPlistTweak(
|
"SBShowSupervisionTextOnLockScreen": BasicPlistTweak(
|
||||||
"Show Supervision Text on Lock Screen",
|
|
||||||
FileLocation.springboard,
|
FileLocation.springboard,
|
||||||
"SBShowSupervisionTextOnLockScreen"
|
"SBShowSupervisionTextOnLockScreen"
|
||||||
),
|
),
|
||||||
"AirplaySupport": BasicPlistTweak(
|
"AirplaySupport": BasicPlistTweak(
|
||||||
"Enable AirPlay support for Stage Manager",
|
|
||||||
FileLocation.springboard,
|
FileLocation.springboard,
|
||||||
"SBExtendedDisplayOverrideSupportForAirPlayAndDontFileRadars",
|
"SBExtendedDisplayOverrideSupportForAirPlayAndDontFileRadars"
|
||||||
divider_below=True
|
|
||||||
),
|
),
|
||||||
|
|
||||||
## Internal Options
|
## Internal Options
|
||||||
"SBBuildNumber": BasicPlistTweak(
|
"SBBuildNumber": BasicPlistTweak(
|
||||||
"Show Build Version in Status Bar",
|
|
||||||
FileLocation.globalPreferences,
|
FileLocation.globalPreferences,
|
||||||
"UIStatusBarShowBuildVersion"
|
"UIStatusBarShowBuildVersion"
|
||||||
),
|
),
|
||||||
"RTL": BasicPlistTweak(
|
"RTL": BasicPlistTweak(
|
||||||
"Force Right-to-Left Layout",
|
|
||||||
FileLocation.globalPreferences,
|
FileLocation.globalPreferences,
|
||||||
"NSForceRightToLeftWritingDirection"
|
"NSForceRightToLeftWritingDirection"
|
||||||
),
|
),
|
||||||
"MetalForceHudEnabled": BasicPlistTweak(
|
"MetalForceHudEnabled": BasicPlistTweak(
|
||||||
"Enable Metal HUD Debug",
|
|
||||||
FileLocation.globalPreferences,
|
FileLocation.globalPreferences,
|
||||||
"MetalForceHudEnabled"
|
"MetalForceHudEnabled"
|
||||||
),
|
),
|
||||||
"iMessageDiagnosticsEnabled": BasicPlistTweak(
|
"iMessageDiagnosticsEnabled": BasicPlistTweak(
|
||||||
"Enable iMessage Debugging",
|
|
||||||
FileLocation.globalPreferences,
|
FileLocation.globalPreferences,
|
||||||
"iMessageDiagnosticsEnabled"
|
"iMessageDiagnosticsEnabled"
|
||||||
),
|
),
|
||||||
"IDSDiagnosticsEnabled": BasicPlistTweak(
|
"IDSDiagnosticsEnabled": BasicPlistTweak(
|
||||||
"Enable Continuity Debugging",
|
|
||||||
FileLocation.globalPreferences,
|
FileLocation.globalPreferences,
|
||||||
"IDSDiagnosticsEnabled"
|
"IDSDiagnosticsEnabled"
|
||||||
),
|
),
|
||||||
"VCDiagnosticsEnabled": BasicPlistTweak(
|
"VCDiagnosticsEnabled": BasicPlistTweak(
|
||||||
"Enable FaceTime Debugging",
|
|
||||||
FileLocation.globalPreferences,
|
FileLocation.globalPreferences,
|
||||||
"VCDiagnosticsEnabled"
|
"VCDiagnosticsEnabled"
|
||||||
),
|
),
|
||||||
"AppStoreDebug": BasicPlistTweak(
|
"AppStoreDebug": BasicPlistTweak(
|
||||||
"Enable App Store Debug Gesture",
|
|
||||||
FileLocation.appStore,
|
FileLocation.appStore,
|
||||||
"debugGestureEnabled"
|
"debugGestureEnabled"
|
||||||
),
|
),
|
||||||
"NotesDebugMode": BasicPlistTweak(
|
"NotesDebugMode": BasicPlistTweak(
|
||||||
"Enable Notes App Debug Mode",
|
|
||||||
FileLocation.notes,
|
FileLocation.notes,
|
||||||
"DebugModeEnabled"
|
"DebugModeEnabled"
|
||||||
),
|
),
|
||||||
"BKDigitizerVisualizeTouches": BasicPlistTweak(
|
"BKDigitizerVisualizeTouches": BasicPlistTweak(
|
||||||
"Show Touches With Debug Info",
|
|
||||||
FileLocation.backboardd,
|
FileLocation.backboardd,
|
||||||
"BKDigitizerVisualizeTouches"
|
"BKDigitizerVisualizeTouches"
|
||||||
),
|
),
|
||||||
"BKHideAppleLogoOnLaunch": BasicPlistTweak(
|
"BKHideAppleLogoOnLaunch": BasicPlistTweak(
|
||||||
"Hide Respring Icon",
|
|
||||||
FileLocation.backboardd,
|
FileLocation.backboardd,
|
||||||
"BKHideAppleLogoOnLaunch"
|
"BKHideAppleLogoOnLaunch"
|
||||||
),
|
),
|
||||||
"EnableWakeGestureHaptic": BasicPlistTweak(
|
"EnableWakeGestureHaptic": BasicPlistTweak(
|
||||||
"Vibrate on Raise-to-Wake",
|
|
||||||
FileLocation.coreMotion,
|
FileLocation.coreMotion,
|
||||||
"EnableWakeGestureHaptic"
|
"EnableWakeGestureHaptic"
|
||||||
),
|
),
|
||||||
"PlaySoundOnPaste": BasicPlistTweak(
|
"PlaySoundOnPaste": BasicPlistTweak(
|
||||||
"Play Sound on Paste",
|
|
||||||
FileLocation.pasteboard,
|
FileLocation.pasteboard,
|
||||||
"PlaySoundOnPaste"
|
"PlaySoundOnPaste"
|
||||||
),
|
),
|
||||||
"AnnounceAllPastes": BasicPlistTweak(
|
"AnnounceAllPastes": BasicPlistTweak(
|
||||||
"Show Notifications for System Pastes",
|
|
||||||
FileLocation.pasteboard,
|
FileLocation.pasteboard,
|
||||||
"AnnounceAllPastes"
|
"AnnounceAllPastes"
|
||||||
),
|
),
|
||||||
|
|
||||||
## Daemons
|
## Daemons
|
||||||
"Daemons": AdvancedPlistTweak(
|
"Daemons": AdvancedPlistTweak(
|
||||||
"Disable Daemons",
|
|
||||||
FileLocation.disabledDaemons,
|
FileLocation.disabledDaemons,
|
||||||
{
|
{
|
||||||
"com.apple.magicswitchd.companion": True,
|
"com.apple.magicswitchd.companion": True,
|
||||||
@@ -283,13 +261,10 @@ tweaks = {
|
|||||||
},
|
},
|
||||||
owner=0, group=0
|
owner=0, group=0
|
||||||
),
|
),
|
||||||
"ClearScreenTimeAgentPlist": NullifyFileTweak(
|
"ClearScreenTimeAgentPlist": NullifyFileTweak(FileLocation.screentime),
|
||||||
"Clear ScreenTimeAgent Plist", FileLocation.screentime
|
|
||||||
),
|
|
||||||
|
|
||||||
## Risky Options
|
## Risky Options
|
||||||
"DisableOTAFile": AdvancedPlistTweak(
|
"DisableOTAFile": AdvancedPlistTweak(
|
||||||
"Disable OTA Updates (file)",
|
|
||||||
FileLocation.ota,
|
FileLocation.ota,
|
||||||
{
|
{
|
||||||
"MobileAssetServerURL-com.apple.MobileAsset.MobileSoftwareUpdate.UpdateBrain": "https://mesu.apple.com/assets/tvOS16DeveloperSeed",
|
"MobileAssetServerURL-com.apple.MobileAsset.MobileSoftwareUpdate.UpdateBrain": "https://mesu.apple.com/assets/tvOS16DeveloperSeed",
|
||||||
@@ -302,7 +277,6 @@ tweaks = {
|
|||||||
}, is_risky=True
|
}, is_risky=True
|
||||||
),
|
),
|
||||||
"CustomResolution": AdvancedPlistTweak(
|
"CustomResolution": AdvancedPlistTweak(
|
||||||
"Set Custom Resolution real",
|
|
||||||
FileLocation.resolution,
|
FileLocation.resolution,
|
||||||
{}, # empty as to not cause issues when only 1 value is inputted
|
{}, # empty as to not cause issues when only 1 value is inputted
|
||||||
is_risky=True
|
is_risky=True
|
||||||
|
|||||||
Reference in New Issue
Block a user