summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-11-09 01:56:08 +0100
committerGravatar Nikias Bassen2023-11-09 01:56:08 +0100
commit6085ed7429986c7dec579fe1f1303ae6651ea1f2 (patch)
tree716d0e76618553589d43d1b2fe19e1330ef379df /src/common.c
parentf87ab8baee1c78ba5d3ab6dde4da44ecb93086c4 (diff)
downloadidevicerestore-6085ed7429986c7dec579fe1f1303ae6651ea1f2.tar.gz
idevicerestore-6085ed7429986c7dec579fe1f1303ae6651ea1f2.tar.bz2
Print progress for large components (e.g. Cryptex)
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 0ad775c..bb534e2 100644
--- a/src/common.c
+++ b/src/common.c
@@ -467,7 +467,7 @@ void idevicerestore_progress(struct idevicerestore_client_t* client, int step, d
client->progress_cb(step, progress, client->progress_cb_data);
} else {
// we don't want to be too verbose in regular idevicerestore.
- if ((step == RESTORE_STEP_UPLOAD_FS) || (step == RESTORE_STEP_VERIFY_FS) || (step == RESTORE_STEP_FLASH_FW)) {
+ if ((step == RESTORE_STEP_UPLOAD_FS) || (step == RESTORE_STEP_VERIFY_FS) || (step == RESTORE_STEP_FLASH_FW) || (step == RESTORE_STEP_UPLOAD_IMG)) {
print_progress_bar(100.0 * progress);
}
}