From d51c7af01ffbf64baa16636437998b6a0e11dde6 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:27:49 -0400 Subject: [PATCH] fix stupids --- tweaks/tweak_classes.py | 2 +- tweaks/tweaks.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tweaks/tweak_classes.py b/tweaks/tweak_classes.py index 037f4f4..8942d70 100644 --- a/tweaks/tweak_classes.py +++ b/tweaks/tweak_classes.py @@ -51,7 +51,7 @@ class BasicPlistTweak(Tweak): min_version: Version = Version("1.0"), 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 def apply_tweak(self, other_tweaks: dict) -> dict: diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 7b3a512..9d2065e 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -112,42 +112,42 @@ tweaks = { FileLocation.globalPreferences, "IDSDiagnosticsEnabled" ), - "VCDiagnosticsEnabled": FileLocation( + "VCDiagnosticsEnabled": BasicPlistTweak( "Enable FaceTime Debugging", FileLocation.globalPreferences, "VCDiagnosticsEnabled" ), - "AppStoreDebug": FileLocation( + "AppStoreDebug": BasicPlistTweak( "Enable App Store Debug Gesture", FileLocation.appStore, "debugGestureEnabled" ), - "NotesDebugMode": FileLocation( + "NotesDebugMode": BasicPlistTweak( "Enable Notes App Debug Mode", FileLocation.notes, "DebugModeEnabled" ), - "BKDigitizerVisualizeTouches": FileLocation( + "BKDigitizerVisualizeTouches": BasicPlistTweak( "Show Touches With Debug Info", FileLocation.backboardd, "BKDigitizerVisualizeTouches" ), - "BKHideAppleLogoOnLaunch": FileLocation( + "BKHideAppleLogoOnLaunch": BasicPlistTweak( "Hide Respring Icon", FileLocation.backboardd, "BKHideAppleLogoOnLaunch" ), - "EnableWakeGestureHaptic": FileLocation( + "EnableWakeGestureHaptic": BasicPlistTweak( "Vibrate on Raise-to-Wake", FileLocation.coreMotion, "EnableWakeGestureHaptic" ), - "PlaySoundOnPaste": FileLocation( + "PlaySoundOnPaste": BasicPlistTweak( "Play Sound on Paste", FileLocation.pasteboard, "PlaySoundOnPaste" ), - "AnnounceAllPastes": FileLocation( + "AnnounceAllPastes": BasicPlistTweak( "Show Notifications for System Pastes", FileLocation.pasteboard, "AnnounceAllPastes"