mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 18:53:40 +01:00
Redownloads missing cached apps when refreshing or updating
This commit is contained in:
@@ -40,12 +40,9 @@ class RefreshAppOperation: ResultOperation<InstalledApp>
|
||||
throw error
|
||||
}
|
||||
|
||||
guard
|
||||
let server = self.context.server,
|
||||
let app = self.context.app,
|
||||
let profiles = self.context.provisioningProfiles
|
||||
else { throw OperationError.invalidParameters }
|
||||
guard let server = self.context.server, let profiles = self.context.provisioningProfiles else { throw OperationError.invalidParameters }
|
||||
|
||||
guard let app = self.context.app else { throw OperationError.appNotFound }
|
||||
guard let udid = Bundle.main.object(forInfoDictionaryKey: Bundle.Info.deviceID) as? String else { throw OperationError.unknownUDID }
|
||||
|
||||
ServerManager.shared.connect(to: server) { (result) in
|
||||
|
||||
Reference in New Issue
Block a user