mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Verifies min/max OS version before downloading app + asks user to download older app version if necessary
This commit is contained in:
@@ -19,7 +19,6 @@ final class DownloadAppOperation: ResultOperation<ALTApplication>
|
|||||||
let context: AppOperationContext
|
let context: AppOperationContext
|
||||||
private let appName: String
|
private let appName: String
|
||||||
private let bundleIdentifier: String
|
private let bundleIdentifier: String
|
||||||
private var sourceURL: URL?
|
|
||||||
private let destinationURL: URL
|
private let destinationURL: URL
|
||||||
|
|
||||||
private let session = URLSession(configuration: .default)
|
private let session = URLSession(configuration: .default)
|
||||||
@@ -31,7 +30,6 @@ final class DownloadAppOperation: ResultOperation<ALTApplication>
|
|||||||
self.context = context
|
self.context = context
|
||||||
self.appName = app.name
|
self.appName = app.name
|
||||||
self.bundleIdentifier = app.bundleIdentifier
|
self.bundleIdentifier = app.bundleIdentifier
|
||||||
self.sourceURL = app.url
|
|
||||||
self.destinationURL = destinationURL
|
self.destinationURL = destinationURL
|
||||||
|
|
||||||
super.init()
|
super.init()
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ struct VerificationError: ALTLocalizedError {
|
|||||||
|
|
||||||
var errorTitle: String?
|
var errorTitle: String?
|
||||||
var errorFailure: String?
|
var errorFailure: String?
|
||||||
|
|
||||||
@Managed var app: AppProtocol?
|
@Managed var app: AppProtocol?
|
||||||
var entitlements: [String: Any]?
|
var entitlements: [String: Any]?
|
||||||
var sourceBundleID: String?
|
var sourceBundleID: String?
|
||||||
|
|||||||
Reference in New Issue
Block a user