Update example and README

This commit is contained in:
nab138
2026-02-14 15:28:58 -05:00
parent 7a9cff097d
commit e9c416caa5
3 changed files with 13 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
# minimal
A minimal sideloading CLI to to demonstrate isideload.
Usage: `minimal <appleid@icloud.com> <password> <app>`

View File

@@ -46,11 +46,6 @@ async fn main() {
.login(apple_password, get_2fa_code)
.await;
// match &account {
// Ok(a) => println!("Logged in. {}", a),
// Err(e) => panic!("Failed to log in to Apple ID: {:?}", e),
// }
let mut account = account.unwrap();
let dev_session = DeveloperSession::from_account(&mut account)
@@ -68,7 +63,8 @@ async fn main() {
panic!("No devices found");
}
let provider = devs.first()
let provider = devs
.first()
.unwrap()
.to_provider(UsbmuxdAddr::from_env_var().unwrap(), "isideload-demo");