mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Supports app versions with explicit build versions
AltStore will now consider an update available if either: * The source’s marketing version doesn’t match installed app’s version * The source declares a build version AND it doesn’t match the install app’s build version The installed app matches an app version if both maketing versions match, and the build versions match (if provided by the source).
This commit is contained in:
@@ -162,8 +162,8 @@ private extension FetchSourceOperation
|
||||
var versions = Set<String>()
|
||||
for version in app.versions
|
||||
{
|
||||
guard !versions.contains(version.version) else { throw SourceError.duplicateVersion(version.version, for: app, source: source) }
|
||||
versions.insert(version.version)
|
||||
guard !versions.contains(version.versionID) else { throw SourceError.duplicateVersion(version.localizedVersion, for: app, source: source) }
|
||||
versions.insert(version.versionID)
|
||||
}
|
||||
|
||||
for permission in app.permissions
|
||||
|
||||
Reference in New Issue
Block a user