mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
fix stupids
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user