Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
fix skip setup applying on sparserestore devices
Browse files Browse the repository at this point in the history
  • Loading branch information
leminlimez committed Dec 12, 2024
1 parent 5522eb1 commit bb69a12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devicemanagement/device_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None):
elif isinstance(tweak, BasicPlistTweak) or isinstance(tweak, RdarFixTweak) or isinstance(tweak, AdvancedPlistTweak):
basic_plists = tweak.apply_tweak(basic_plists, self.allow_risky_tweaks)
basic_plists_ownership[tweak.file_location] = tweak.owner
if tweak.owner == 0:
if tweak.enabled and tweak.owner == 0:
uses_domains = True
elif isinstance(tweak, NullifyFileTweak):
tweak.apply_tweak(files_data)
Expand Down
4 changes: 2 additions & 2 deletions tweaks/tweaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

tweaks = {
## MobileGestalt Tweaks
"DynamicIsland": MobileGestaltPickerTweak("oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceSubType", [2436, 2556, 2796, 2976, 2622, 2868]),
"DynamicIsland": MobileGestaltPickerTweak("oPeik/9e8lQWMszEjbPzng", subkey="ArtworkDeviceSubType", values=[2436, 2556, 2796, 2976, 2622, 2868]),
"RdarFix": RdarFixTweak(),
"ModelName": MobileGestaltTweak("oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceProductDescription", ""),
"ModelName": MobileGestaltTweak("oPeik/9e8lQWMszEjbPzng", subkey="ArtworkDeviceProductDescription", value=""),
"BootChime": MobileGestaltTweak("QHxt+hGLaBPbQJbXiUJX3w"),
"ChargeLimit": MobileGestaltTweak("37NVydb//GP/GrhuTN+exg"),
"CollisionSOS": MobileGestaltTweak("HCzWusHQwZDea6nNhaKndw"),
Expand Down

0 comments on commit bb69a12

Please sign in to comment.