Files
Nugget/tweaks/basic_plist_locations.py
2024-11-15 18:34:18 -05:00

30 lines
1.4 KiB
Python

from enum import Enum
class FileLocation(Enum):
# Mobile Gestalt
resolution = "/var/Managed Preferences/mobile/com.apple.iokit.IOMobileGraphicsFamily.plist"
# Springboard Options
springboard = "/var/Managed Preferences/mobile/com.apple.springboard.plist"
footnote = "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/SharedDeviceConfiguration.plist"
# Internal Options
globalPreferences = "/var/Managed Preferences/mobile/.GlobalPreferences.plist"
appStore = "/var/Managed Preferences/mobile/com.apple.AppStore.plist"
backboardd = "/var/Managed Preferences/mobile/com.apple.backboardd.plist"
coreMotion = "/var/Managed Preferences/mobile/com.apple.CoreMotion.plist"
pasteboard = "/var/Managed Preferences/mobile/com.apple.Pasteboard.plist"
notes = "/var/Managed Preferences/mobile/com.apple.mobilenotes.plist"
# Risky Options
ota = "/var/Managed Preferences/mobile/com.apple.MobileAsset.plist"
# support for older versions of python that cannot enumerate over enums
FileLocationsList: list[FileLocation] = [
FileLocation.resolution,
FileLocation.springboard, FileLocation.footnote,
FileLocation.globalPreferences, FileLocation.appStore, FileLocation.backboardd, FileLocation.coreMotion, FileLocation.pasteboard, FileLocation.notes
]
RiskyFileLocationsList: list[FileLocation] = [
FileLocation.ota
]