Add the option to force SideStore Group ID

This commit is contained in:
nab138
2025-11-20 22:29:30 -05:00
parent 411c798b12
commit d8d9e2a181
4 changed files with 13 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -981,7 +981,7 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
[[package]]
name = "isideload"
version = "0.1.18"
version = "0.1.19"
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.18"
version = "0.1.19"
edition = "2024"
repository = "https://github.com/nab138/isideload"
documentation = "https://docs.rs/isideload"

View File

@@ -63,6 +63,8 @@ pub struct SideloadConfiguration<'a> {
pub store_dir: std::path::PathBuf,
/// Whether or not to revoke the certificate immediately after installation
pub revoke_cert: bool,
/// Whether or not to force SideStore App Group (fixes LiveContainer+SideStore issues)
pub force_sidestore_app_group: bool,
}
impl Default for SideloadConfiguration<'_> {
@@ -78,6 +80,7 @@ impl<'a> SideloadConfiguration<'a> {
logger: &DefaultLogger,
store_dir: std::env::current_dir().unwrap(),
revoke_cert: false,
force_sidestore_app_group: false,
}
}

View File

@@ -252,7 +252,14 @@ pub async fn sideload_app(
}
}
let group_identifier = format!("group.{}", main_app_id_str);
let group_identifier = format!(
"group.{}",
if config.force_sidestore_app_group {
"com.SideStore.SideStore"
} else {
&main_app_id_str
}
);
if is_sidestore {
app.bundle.app_info.insert(