mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 19:53:25 +01:00
Adds InstalledApp.team relationship
This commit is contained in:
@@ -66,6 +66,11 @@ class InstallAppOperation: ResultOperation<InstalledApp>
|
||||
installedApp.expirationDate = profile.expirationDate
|
||||
}
|
||||
|
||||
if let team = Team.first(satisfying: NSPredicate(format: "%K == %@", #keyPath(Team.isActiveTeam), NSNumber(value: true)), in: backgroundContext)
|
||||
{
|
||||
installedApp.team = team
|
||||
}
|
||||
|
||||
// Temporary directory and resigned .ipa no longer needed, so delete them now to ensure AltStore doesn't quit before we get the chance to.
|
||||
self.cleanUp()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user