mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
fix unplug message
This commit is contained in:
@@ -424,7 +424,10 @@ class DeviceManager:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# restore to the device
|
# restore to the device
|
||||||
update_label("Restoring to device...\nDo NOT Unplug")
|
do_not_unplug = ""
|
||||||
|
if self.data_singleton.current_device.connected_via_usb:
|
||||||
|
do_not_unplug = "\nDo NOT Unplug"
|
||||||
|
update_label(f"Restoring to device...{do_not_unplug}")
|
||||||
restore_files(files=files_to_restore, reboot=self.auto_reboot, lockdown_client=self.data_singleton.current_device.ld)
|
restore_files(files=files_to_restore, reboot=self.auto_reboot, lockdown_client=self.data_singleton.current_device.ld)
|
||||||
if tmp_pb_dir != None:
|
if tmp_pb_dir != None:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user