From 38595f0b7dac3d53033f93e9893d9be49996ba95 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 27 Nov 2021 00:02:16 +0100 Subject: Use macros for the different restore variant strings --- src/restore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index 7b61766..e29ae97 100644 --- a/src/restore.c +++ b/src/restore.c @@ -2955,11 +2955,11 @@ plist_t restore_get_build_identity(struct idevicerestore_client_t* client, uint8 const char *variant; if (is_recover_os) - variant = "macOS Customer"; + variant = RESTORE_VARIANT_MACOS_RECOVERY_OS; else if (client->flags & FLAG_ERASE) - variant = "Customer Erase Install (IPSW)"; + variant = RESTORE_VARIANT_CUSTOMER_ERASE; else - variant = "Customer Upgrade Install (IPSW)"; + variant = RESTORE_VARIANT_CUSTOMER_UPGRADE; plist_t build_identity = build_manifest_get_build_identity_for_model_with_variant( client->build_manifest, -- cgit v1.1-32-gdbae