Displays remaining App ID count

This commit is contained in:
Riley Testut
2020-01-24 14:54:52 -08:00
parent b196981c89
commit 74f44ddfe8
4 changed files with 110 additions and 5 deletions

View File

@@ -164,6 +164,12 @@ class AuthenticationOperation: ResultOperation<(ALTSigner, ALTAppleAPISession)>
team.isActiveTeam = false
}
if let altStoreApp = InstalledApp.fetchAltStore(in: context), altStoreApp.team == nil
{
// No team assigned to AltStore app yet, so assume this team was used to originally install it.
altStoreApp.team = team
}
// Save
try context.save()