mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
update restore message
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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...")
|
||||
|
||||
Reference in New Issue
Block a user