From 963083be85688206fe52042e8e32602d8139726e Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 23 Mar 2023 04:15:51 +0100 Subject: installation_proxy: Handle BundleIDs in instproxy_client_options_add BundleIDs are passed as an array so we need to make sure it gets added as such. In fact though we just copy the node from the va_arg :) --- src/installation_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installation_proxy.c b/src/installation_proxy.c index b13abf9..9602876 100644 --- a/src/installation_proxy.c +++ b/src/installation_proxy.c @@ -934,7 +934,7 @@ LIBIMOBILEDEVICE_API void instproxy_client_options_add(plist_t client_options, . if (!strcmp(key, "SkipUninstall")) { int intval = va_arg(args, int); plist_dict_set_item(client_options, key, plist_new_bool(intval)); - } else if (!strcmp(key, "ApplicationSINF") || !strcmp(key, "iTunesMetadata") || !strcmp(key, "ReturnAttributes")) { + } else if (!strcmp(key, "ApplicationSINF") || !strcmp(key, "iTunesMetadata") || !strcmp(key, "ReturnAttributes") || !strcmp(key, "BundleIDs")) { plist_t plistval = va_arg(args, plist_t); if (!plistval) { free(key); -- cgit v1.1-32-gdbae