mirror of
https://github.com/nab138/isideload.git
synced 2026-03-02 06:26:16 +01:00
Start lockdown session to support tcp
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1170,7 +1170,7 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "isideload"
|
name = "isideload"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures",
|
"futures",
|
||||||
"hex",
|
"hex",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "isideload"
|
|||||||
description = "Sideload iOS/iPadOS applications"
|
description = "Sideload iOS/iPadOS applications"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
authors = ["Nicholas Sharp <nab@nabdev.me>"]
|
authors = ["Nicholas Sharp <nab@nabdev.me>"]
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
repository = "https://github.com/nab138/isideload"
|
repository = "https://github.com/nab138/isideload"
|
||||||
documentation = "https://docs.rs/isideload"
|
documentation = "https://docs.rs/isideload"
|
||||||
|
|||||||
@@ -40,6 +40,13 @@ pub async fn sideload_app(
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Ok(pairing_file) = device_provider.get_pairing_file().await {
|
||||||
|
lockdown_client
|
||||||
|
.start_session(&pairing_file)
|
||||||
|
.await
|
||||||
|
.map_err(|e| Error::IdeviceError(e))?;
|
||||||
|
}
|
||||||
|
|
||||||
let device_name = lockdown_client
|
let device_name = lockdown_client
|
||||||
.get_value("DeviceName", None)
|
.get_value("DeviceName", None)
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user