diff options
| author | 2026-11-26 23:44:34 +1100 | |
|---|---|---|
| committer | 2026-11-26 23:44:34 +1100 | |
| commit | 1c15165f9688a344c6f68af2a8c5874d2ed307b7 (patch) | |
| tree | 4c46ee1b9d68897810b937991ea9f56fa0183314 /src/restore.c | |
| parent | 037467283fb3b3cd72a664caa9a935a641365616 (diff) | |
| download | idevicerestore-1c15165f9688a344c6f68af2a8c5874d2ed307b7.tar.gz idevicerestore-1c15165f9688a344c6f68af2a8c5874d2ed307b7.tar.bz2 | |
restore: Allow the caller to select the post-restore action
Diffstat (limited to 'src/restore.c')
| -rw-r--r-- | src/restore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c index fbe54de..251f2ec 100644 --- a/src/restore.c +++ b/src/restore.c @@ -5772,6 +5772,9 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit if (client->restore_boot_args) { plist_dict_set_item(opts, "RestoreBootArgs", plist_new_string(client->restore_boot_args)); } + if (client->post_restore_action) { + plist_dict_set_item(opts, "PostRestoreAction", plist_new_string(client->post_restore_action)); + } plist_t spp = plist_access_path(build_identity, 2, "Info", "SystemPartitionPadding"); if (spp) { spp = plist_copy(spp); |
