mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Supports adding trusted sources from SourcesViewController
Previously, only the beta version of AltStore could add sources. Now, the public version supports adding explicitly “trusted” sources, while the beta version can continue to add any source.
This commit is contained in:
@@ -37,6 +37,8 @@ public extension UserDefaults
|
||||
|
||||
@NSManaged var patchedApps: [String]?
|
||||
|
||||
@NSManaged var trustedSourceIDs: [String]?
|
||||
|
||||
var activeAppsLimit: Int? {
|
||||
get {
|
||||
return self._activeAppsLimit?.intValue
|
||||
|
||||
@@ -33,10 +33,6 @@ public extension Source
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
static let exampleIdentifier = "io.altstore.example"
|
||||
|
||||
static let allowedIdentifiers: Set<String> = [exampleIdentifier]
|
||||
}
|
||||
|
||||
@objc(Source)
|
||||
|
||||
Reference in New Issue
Block a user