fix stupids

This commit is contained in:
leminlimez
2024-09-27 20:27:49 -04:00
parent 8a5966fdbb
commit d51c7af01f
2 changed files with 9 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ class BasicPlistTweak(Tweak):
min_version: Version = Version("1.0"), min_version: Version = Version("1.0"),
divider_below: bool = False divider_below: bool = False
): ):
super.__init__(label=label, key=key, subkey=None, value=value, edit_type=edit_type, min_version=min_version, divider_below=divider_below) super().__init__(label=label, key=key, subkey=None, value=value, edit_type=edit_type, min_version=min_version, divider_below=divider_below)
self.file_location = file_location self.file_location = file_location
def apply_tweak(self, other_tweaks: dict) -> dict: def apply_tweak(self, other_tweaks: dict) -> dict:

View File

@@ -112,42 +112,42 @@ tweaks = {
FileLocation.globalPreferences, FileLocation.globalPreferences,
"IDSDiagnosticsEnabled" "IDSDiagnosticsEnabled"
), ),
"VCDiagnosticsEnabled": FileLocation( "VCDiagnosticsEnabled": BasicPlistTweak(
"Enable FaceTime Debugging", "Enable FaceTime Debugging",
FileLocation.globalPreferences, FileLocation.globalPreferences,
"VCDiagnosticsEnabled" "VCDiagnosticsEnabled"
), ),
"AppStoreDebug": FileLocation( "AppStoreDebug": BasicPlistTweak(
"Enable App Store Debug Gesture", "Enable App Store Debug Gesture",
FileLocation.appStore, FileLocation.appStore,
"debugGestureEnabled" "debugGestureEnabled"
), ),
"NotesDebugMode": FileLocation( "NotesDebugMode": BasicPlistTweak(
"Enable Notes App Debug Mode", "Enable Notes App Debug Mode",
FileLocation.notes, FileLocation.notes,
"DebugModeEnabled" "DebugModeEnabled"
), ),
"BKDigitizerVisualizeTouches": FileLocation( "BKDigitizerVisualizeTouches": BasicPlistTweak(
"Show Touches With Debug Info", "Show Touches With Debug Info",
FileLocation.backboardd, FileLocation.backboardd,
"BKDigitizerVisualizeTouches" "BKDigitizerVisualizeTouches"
), ),
"BKHideAppleLogoOnLaunch": FileLocation( "BKHideAppleLogoOnLaunch": BasicPlistTweak(
"Hide Respring Icon", "Hide Respring Icon",
FileLocation.backboardd, FileLocation.backboardd,
"BKHideAppleLogoOnLaunch" "BKHideAppleLogoOnLaunch"
), ),
"EnableWakeGestureHaptic": FileLocation( "EnableWakeGestureHaptic": BasicPlistTweak(
"Vibrate on Raise-to-Wake", "Vibrate on Raise-to-Wake",
FileLocation.coreMotion, FileLocation.coreMotion,
"EnableWakeGestureHaptic" "EnableWakeGestureHaptic"
), ),
"PlaySoundOnPaste": FileLocation( "PlaySoundOnPaste": BasicPlistTweak(
"Play Sound on Paste", "Play Sound on Paste",
FileLocation.pasteboard, FileLocation.pasteboard,
"PlaySoundOnPaste" "PlaySoundOnPaste"
), ),
"AnnounceAllPastes": FileLocation( "AnnounceAllPastes": BasicPlistTweak(
"Show Notifications for System Pastes", "Show Notifications for System Pastes",
FileLocation.pasteboard, FileLocation.pasteboard,
"AnnounceAllPastes" "AnnounceAllPastes"