Limits adding sources to allowed identifiers in non-BETA builds

This commit is contained in:
Riley Testut
2020-10-05 14:48:48 -07:00
parent 00e8b7c80e
commit 1f8e16dce8
4 changed files with 71 additions and 23 deletions

View File

@@ -33,6 +33,10 @@ public extension Source
#endif
#endif
static let exampleIdentifier = "io.altstore.example"
static let allowedIdentifiers: Set<String> = [exampleIdentifier]
}
@objc(Source)