mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
please o riley build
This commit is contained in:
committed by
nythepegasus
parent
88ad828ce0
commit
357d85a72e
@@ -8,17 +8,17 @@
|
||||
|
||||
import Foundation
|
||||
import AltStoreCore
|
||||
|
||||
/*
|
||||
struct BatchError: ALTLocalizedError
|
||||
{
|
||||
/*
|
||||
|
||||
enum Code: Int, ALTErrorCode
|
||||
{
|
||||
typealias Error = BatchError
|
||||
|
||||
case batchError
|
||||
}
|
||||
*/
|
||||
|
||||
var code: Code = .batchError
|
||||
var underlyingErrors: [Error]
|
||||
|
||||
@@ -39,7 +39,7 @@ struct BatchError: ALTLocalizedError
|
||||
return message
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
@objc(ClearAppCacheOperation)
|
||||
class ClearAppCacheOperation: ResultOperation<Void>
|
||||
{
|
||||
@@ -60,7 +60,7 @@ class ClearAppCacheOperation: ResultOperation<Void>
|
||||
self.clearTemporaryDirectory { result in
|
||||
switch result
|
||||
{
|
||||
case .failure(let batchError as BatchError): allErrors.append(contentsOf: batchError.underlyingErrors)
|
||||
//case .failure(let batchError as BatchError): allErrors.append(contentsOf: batchError.underlyingErrors)
|
||||
case .failure(let error): allErrors.append(error)
|
||||
case .success: break
|
||||
}
|
||||
@@ -68,7 +68,7 @@ class ClearAppCacheOperation: ResultOperation<Void>
|
||||
self.removeUninstalledAppBackupDirectories { result in
|
||||
switch result
|
||||
{
|
||||
case .failure(let batchError as BatchError): allErrors.append(contentsOf: batchError.underlyingErrors)
|
||||
//case .failure(let batchError as BatchError): allErrors.append(contentsOf: batchError.underlyingErrors)
|
||||
case .failure(let error): allErrors.append(error)
|
||||
case .success: break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user