Uses UTIs to determine whether apps are installed or not

AltStore now inserts an app-specific UTI when resigning apps, and it periodically checks whether that app has been deleted by checking whether UTTypeCopyDeclaration returns nil for the same app-specific UTI.
This commit is contained in:
Riley Testut
2019-12-17 19:17:45 -08:00
parent 748ad8588d
commit e3ea200ad5
4 changed files with 28 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ public extension Bundle
public static let appGroups = "ALTAppGroups"
public static let urlTypes = "CFBundleURLTypes"
public static let exportedUTIs = "UTExportedTypeDeclarations"
}
}