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]]
|
||||
name = "isideload"
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
dependencies = [
|
||||
"aes 0.9.0-rc.4",
|
||||
"aes-gcm",
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "isideload"
|
||||
description = "Sideload iOS/iPadOS applications"
|
||||
license = "MIT"
|
||||
authors = ["Nicholas Sharp <nab@nabdev.me>"]
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
edition = "2024"
|
||||
repository = "https://github.com/nab138/isideload"
|
||||
documentation = "https://docs.rs/isideload"
|
||||
|
||||
@@ -230,16 +230,18 @@ impl RemoteV3AnisetteProvider {
|
||||
gs: Arc<GrandSlam>,
|
||||
url: &str,
|
||||
) -> Result<(), Report> {
|
||||
debug!("Starting provisioning");
|
||||
|
||||
let start_provisioning = gs.get_url("midStartProvisioning")?;
|
||||
let end_provisioning = gs.get_url("midFinishProvisioning")?;
|
||||
|
||||
let websocket_url = format!("{}/v3/provisioning_session", url)
|
||||
.replace("https://", "wss://")
|
||||
.replace("http://", "ws://");
|
||||
|
||||
debug!("Starting provisioning at {}", websocket_url);
|
||||
let (mut ws_stream, _) = tokio_tungstenite::connect_async(&websocket_url).await?;
|
||||
|
||||
debug!("Connected to provisioning socket");
|
||||
|
||||
loop {
|
||||
let Some(msg) = ws_stream.next().await else {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user