Adds InstalledApp.needsResign

When true, app will be resigned + reinstalled next refresh rather than just refreshing provisioning profiles.
This commit is contained in:
Riley Testut
2020-10-01 11:51:39 -07:00
parent 707c2db508
commit 12f33c355a
4 changed files with 19 additions and 15 deletions

View File

@@ -62,7 +62,8 @@ class InstallAppOperation: ResultOperation<InstalledApp>
}
installedApp.update(resignedApp: resignedApp, certificateSerialNumber: certificate.serialNumber)
installedApp.needsResign = false
if let team = DatabaseManager.shared.activeTeam(in: backgroundContext)
{
installedApp.team = team