mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
bug fixes & replace idevice_get_device_version with get_device_version
This commit is contained in:
@@ -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!";
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user