mirror of
https://github.com/nab138/isideload.git
synced 2026-03-02 14:36:16 +01:00
Keep scaffolding apple account
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
use std::{env, path::PathBuf};
|
||||
|
||||
use isideload::auth::apple_account::AppleAccountBuilder;
|
||||
|
||||
fn main() {
|
||||
isideload::test();
|
||||
let args: Vec<String> = env::args().collect();
|
||||
let app_path = PathBuf::from(
|
||||
args.get(1)
|
||||
.expect("Please provide the path to the app to install"),
|
||||
);
|
||||
let apple_id = args
|
||||
.get(2)
|
||||
.expect("Please provide the Apple ID to use for installation");
|
||||
let apple_password = args.get(3).expect("Please provide the Apple ID password");
|
||||
|
||||
let account = AppleAccountBuilder::new(apple_id)
|
||||
.danger_debug(true)
|
||||
.build()
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user