mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-20 04:03:26 +01:00
Remove app groups that contain AltStore
This commit is contained in:
@@ -382,8 +382,17 @@ extension FetchProvisioningProfilesOperation
|
|||||||
return completionHandler(.success(appID))
|
return completionHandler(.success(appID))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print("Application groups before app.isAltStoreApp: \(applicationGroups)")
|
||||||
if app.isAltStoreApp
|
if app.isAltStoreApp
|
||||||
{
|
{
|
||||||
|
// Remove app groups that contain AltStore since they can be problematic (cause SideStore to expire early)
|
||||||
|
for (index, group) in applicationGroups.enumerated() {
|
||||||
|
if group.contains("AltStore") {
|
||||||
|
print("Removing application group: \(group)")
|
||||||
|
applicationGroups.remove(at: index)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Potentially updating app groups for this specific AltStore.
|
// Potentially updating app groups for this specific AltStore.
|
||||||
// Find the (unique) AltStore app group, then replace it
|
// Find the (unique) AltStore app group, then replace it
|
||||||
// with the correct "base" app group ID.
|
// with the correct "base" app group ID.
|
||||||
|
|||||||
Reference in New Issue
Block a user