mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 14:53:25 +01:00
[AltStoreCore] Fixes incorrectly merging app versions for same app from different sources
This commit is contained in:
@@ -375,6 +375,13 @@ public extension StoreApp
|
||||
return self._versions.firstObject as? AppVersion
|
||||
}
|
||||
|
||||
var globallyUniqueID: String? {
|
||||
guard let sourceIdentifier = self.sourceIdentifier else { return nil }
|
||||
|
||||
let globallyUniqueID = self.bundleIdentifier + "|" + sourceIdentifier
|
||||
return globallyUniqueID
|
||||
}
|
||||
|
||||
@nonobjc class func fetchRequest() -> NSFetchRequest<StoreApp>
|
||||
{
|
||||
return NSFetchRequest<StoreApp>(entityName: "StoreApp")
|
||||
|
||||
Reference in New Issue
Block a user