From: Yasuhiro M. <mat...@gm...> - 2014-02-28 00:50:16
|
Hi list. When libimobiledevice doesn't return expected value, we can get post proc commands via SysInfoExtra. How about this? diff --git a/src/itdb_sqlite.c b/src/itdb_sqlite.c index b5b2975..56c2506 100644 --- a/src/itdb_sqlite.c +++ b/src/itdb_sqlite.c @@ -1793,9 +1793,9 @@ static void run_post_process_commands(Itdb_iTunesDB *itdb, const char *outpath, plist_node = NULL; } } - } else + } #endif - if (itdb->device->sysinfo_extended != NULL) { + if (ppc_dict == NULL && itdb->device->sysinfo_extended != NULL) { /* try to get SQL post process commands via sysinfo_extended */ gchar *dev_path = itdb_get_device_dir(itdb->device->mountpoint); if (dev_path) { - Yasuhiro Matsumoto |