mirror of
https://github.com/nab138/isideload.git
synced 2026-03-02 06:26:16 +01:00
additional anisette logging
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1831,7 +1831,7 @@ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "isideload"
|
name = "isideload"
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes 0.9.0-rc.4",
|
"aes 0.9.0-rc.4",
|
||||||
"aes-gcm",
|
"aes-gcm",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "isideload"
|
|||||||
description = "Sideload iOS/iPadOS applications"
|
description = "Sideload iOS/iPadOS applications"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Nicholas Sharp <nab@nabdev.me>"]
|
authors = ["Nicholas Sharp <nab@nabdev.me>"]
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
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"
|
||||||
|
|||||||
@@ -230,16 +230,18 @@ impl RemoteV3AnisetteProvider {
|
|||||||
gs: Arc<GrandSlam>,
|
gs: Arc<GrandSlam>,
|
||||||
url: &str,
|
url: &str,
|
||||||
) -> Result<(), Report> {
|
) -> Result<(), Report> {
|
||||||
debug!("Starting provisioning");
|
|
||||||
|
|
||||||
let start_provisioning = gs.get_url("midStartProvisioning")?;
|
let start_provisioning = gs.get_url("midStartProvisioning")?;
|
||||||
let end_provisioning = gs.get_url("midFinishProvisioning")?;
|
let end_provisioning = gs.get_url("midFinishProvisioning")?;
|
||||||
|
|
||||||
let websocket_url = format!("{}/v3/provisioning_session", url)
|
let websocket_url = format!("{}/v3/provisioning_session", url)
|
||||||
.replace("https://", "wss://")
|
.replace("https://", "wss://")
|
||||||
.replace("http://", "ws://");
|
.replace("http://", "ws://");
|
||||||
|
|
||||||
|
debug!("Starting provisioning at {}", websocket_url);
|
||||||
let (mut ws_stream, _) = tokio_tungstenite::connect_async(&websocket_url).await?;
|
let (mut ws_stream, _) = tokio_tungstenite::connect_async(&websocket_url).await?;
|
||||||
|
|
||||||
|
debug!("Connected to provisioning socket");
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let Some(msg) = ws_stream.next().await else {
|
let Some(msg) = ws_stream.next().await else {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user