ignore pycache and rename

This commit is contained in:
leminlimez
2024-09-19 11:12:34 -04:00
parent 833d7994b8
commit 8d01b8d6e0
27 changed files with 4 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
from exploit.restore import restore_files, FileToRestore, restore_file
from Sparserestore.restore import restore_files, FileToRestore, restore_file
from tweaks.tweaks import tweaks, TweakModifyType, FeatureFlagTweak, EligibilityTweak
from devicemanagement.constants import Device
@@ -164,13 +164,6 @@ while running:
# exit the panel
print("Goodbye!")
running = False
elif page == 42:
# restore_file(fp=Path.joinpath(Path.cwd(), "telephony_test.png"), restore_path="/var/mobile/Library/Caches/TelephonyUI-9/", restore_name="en-0---white.png", reboot=True, lockdown_client=device.ld)
restore_files(files=[FileToRestore(
contents=b"",
restore_path="/var/Managed Preferences/mobile/",
restore_name="com.apple.purplebuddy.plist"
)], reboot=True, lockdown_client=device.ld)
else:
tweak = list(tweaks.values())[page-1]
if page > 0 and page <= num_tweaks and tweak.is_compatible(device.version):