update restore message

This commit is contained in:
leminlimez
2025-03-31 13:52:27 -04:00
parent 349b8c0ad2
commit 672283eaa3
3 changed files with 4 additions and 3 deletions

View File

@@ -422,7 +422,7 @@ class DeviceManager:
)
# restore to the device
update_label("Restoring to device...")
update_label("Restoring to device, do NOT unplug...")
restore_files(files=files_to_restore, reboot=self.auto_reboot, lockdown_client=self.data_singleton.current_device.ld)
if tmp_pb_dir != None:
try:

View File

@@ -21,7 +21,7 @@ from tweaks.custom_gestalt_tweaks import CustomGestaltTweaks, ValueTypeStrings
from tweaks.daemons_tweak import Daemon
App_Version = "5.1"
App_Build = 5
App_Build = 6
class Page(Enum):
Home = 0

View File

@@ -250,12 +250,13 @@ class PosterboardTweak(Tweak):
update_label("Generating PosterBoard Video...")
self.create_live_photo_files(output_dir)
self.create_video_loop_files(output_dir, update_label=update_label)
update_label("Adding tendies...")
for tendie in self.tendies:
update_label(f"Extracting {tendie.name}...")
zip_output = os.path.join(output_dir, str(uuid.uuid4()))
os.makedirs(zip_output)
with zipfile.ZipFile(tendie.path, 'r') as zip_ref:
zip_ref.extractall(zip_output)
# add the files
update_label("Adding tendies...")
self.recursive_add(files_to_restore, curr_path=output_dir)
update_label("Adding other tweaks...")