From 723ba228f59071d7f529a35b1ac08f71f70456fb Mon Sep 17 00:00:00 2001 From: Wesley Bryie Date: Sat, 27 Apr 2024 19:56:40 -0400 Subject: [PATCH] fix: build errors in 2 files --- apple-codesign-wrapper/src/dummy_bundle_id.rs | 2 +- icloud-auth/src/anisette.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apple-codesign-wrapper/src/dummy_bundle_id.rs b/apple-codesign-wrapper/src/dummy_bundle_id.rs index c6bcd6c..cbcf8fa 100644 --- a/apple-codesign-wrapper/src/dummy_bundle_id.rs +++ b/apple-codesign-wrapper/src/dummy_bundle_id.rs @@ -55,7 +55,7 @@ fn add_bundle_id(bundle_id: &str, path: &Path) { ); dummy_bundle_id_num_counter.increase(); drop(dummy_bundle_id_num_counter); - plist.insert(BUNDLE_ID_PROPERTY, dummy_bundle_id); + plist.insert(BUNDLE_ID_PROPERTY.to_owned(), plist::Value::String(dummy_bundle_id)); let mut bytes = vec![]; plist::to_writer_xml(&mut bytes, plist).unwrap(); diff --git a/icloud-auth/src/anisette.rs b/icloud-auth/src/anisette.rs index bd37b40..f88e49b 100644 --- a/icloud-auth/src/anisette.rs +++ b/icloud-auth/src/anisette.rs @@ -15,7 +15,7 @@ impl AnisetteData { .set_configuration_path(PathBuf::new().join("anisette_test")) .set_anisette_url("https://ani.f1sh.me".to_string()), ) { - Ok(mut b) => match b.get_authentication_headers() { + Ok(mut b) => match b.provider.get_authentication_headers() { Ok(b) => b, Err(_) => return Err(Error::ErrorGettingAnisette), },