summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-09-26 00:12:54 +0200
committerGravatar Nikias Bassen2025-09-26 00:13:39 +0200
commit1aea4df8c83053fcd4ef8826c19c0ed58aec323a (patch)
tree6e09082120bfb04b3e8b8717d35663c767d4490f
parent47bf8b5f4cd8f4b1fdfdd2cf834b40ae1dc14e0d (diff)
downloadidevicerestore-1aea4df8c83053fcd4ef8826c19c0ed58aec323a.tar.gz
idevicerestore-1aea4df8c83053fcd4ef8826c19c0ed58aec323a.tar.bz2
restore: Suppress progress bars for smaller PersonalizedBootObjectV3 images
-rw-r--r--src/restore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index 46e56f3..09cbe16 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -4320,7 +4320,9 @@ int restore_send_personalized_boot_object_v3(struct idevicerestore_client_t* cli
rctx.last_progress = 0;
rctx.tag = progress_get_next_tag();
- register_progress(rctx.tag, component);
+ if (size > 0x2000000) {
+ register_progress(rctx.tag, component);
+ }
int64_t i = size;
while (i > 0) {