Files
Nugget/tweaks/basic_plist_locations.py
2024-09-28 14:37:22 -04:00

24 lines
1.2 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"
# 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
]