Permalink
Browse files

Added flag to hopefully prevent the jailbreak from deleting the pictu…

…res on the device
  • Loading branch information...
1 parent 37db2fe commit 5c2dac6964963253ee31bff4bf40df47fef857f2 @posixninja committed with Joel Goguen Jun 8, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 spirit.c
View
@@ -244,6 +244,7 @@ static void start_restore(mobilebackup_client_t backup, plist_t files) {
plist_dict_insert_item(mdict, "BackupMessageTypeKey", plist_new_string("kBackupMessageRestoreRequest"));
plist_dict_insert_item(mdict, "BackupNotifySpringBoard", plist_new_bool(1));
plist_dict_insert_item(mdict, "BackupProtocolVersion", plist_new_string("3.0"));
+ plist_dict_insert_item(mdict, "BackupPreserveCameraRoll", plist_new_bool(1));
plist_dict_insert_item(mdict, "BackupManifestKey", manifest);
plist_t message = plist_new_array();

0 comments on commit 5c2dac6

Please sign in to comment.