bug fixes & replace idevice_get_device_version with get_device_version

This commit is contained in:
uncor3
2025-10-30 11:32:05 +00:00
parent 56d03f069a
commit 4fc2b49251
15 changed files with 68 additions and 26 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ mobile_image_mounter_error_t mount_dev_image(const char *udid,
goto leave;
}
device_version = idevice_get_device_version(device);
device_version = get_device_version(device);
if (LOCKDOWN_E_SUCCESS != (ldret = lockdownd_client_new_with_handshake(
device, &lckd, TOOL_NAME))) {
qDebug() << "ERROR: Could not connect to lockdownd service!";
+1 -1
View File
@@ -71,7 +71,7 @@ bool set_location(idevice_t device, char *lat, char *lon)
lerr = lockdownd_start_service(lockdown, DT_SIMULATELOCATION_SERVICE,
&svc);
if (lerr != LOCKDOWN_E_SUCCESS) {
unsigned int device_version = idevice_get_device_version(device);
unsigned int device_version = get_device_version(device);
lockdownd_client_free(lockdown);
idevice_free(device);