mirror of
https://github.com/nab138/isideload.git
synced 2026-03-02 06:26:16 +01:00
Add the option to force SideStore Group ID
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -981,7 +981,7 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
|
||||
|
||||
[[package]]
|
||||
name = "isideload"
|
||||
version = "0.1.18"
|
||||
version = "0.1.19"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"idevice",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user