Fix apps with extensions

This commit is contained in:
nab138
2025-11-03 18:23:57 -05:00
parent 5f5b4eb7c0
commit 22f9384594
3 changed files with 5 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -1152,7 +1152,7 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
[[package]]
name = "isideload"
version = "0.1.11"
version = "0.1.12"
dependencies = [
"hex",
"idevice",

View File

@@ -3,7 +3,7 @@ name = "isideload"
description = "Sideload iOS/iPadOS applications"
license = "MPL-2.0"
authors = ["Nicholas Sharp <nab@nabdev.me>"]
version = "0.1.11"
version = "0.1.12"
edition = "2024"
repository = "https://github.com/nab138/isideload"
documentation = "https://docs.rs/isideload"

View File

@@ -355,8 +355,10 @@ pub async fn sideload_app(
drop(file);
}
// TODO: Recursive for sub-bundles?
app.bundle.write_info()?;
for ext in app.bundle.app_extensions_mut() {
ext.write_info()?;
}
match ZSignOptions::new(app.bundle.bundle_dir.to_str().unwrap())
.with_cert_file(cert.get_certificate_file_path().to_str().unwrap())