mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-14 17:23:25 +01:00
App builds in xcodeproj (todo widget)
This commit is contained in:
@@ -13,6 +13,7 @@ import AltSign
|
||||
import SideKit
|
||||
import SideStoreCore
|
||||
import Shared
|
||||
import os.log
|
||||
|
||||
private extension DownloadAppOperation {
|
||||
struct DependencyError: ALTLocalizedError {
|
||||
@@ -63,7 +64,7 @@ final class DownloadAppOperation: ResultOperation<ALTApplication> {
|
||||
return
|
||||
}
|
||||
|
||||
print("Downloading App:", bundleIdentifier)
|
||||
os_log("Downloading App: %@", type: .info , bundleIdentifier)
|
||||
|
||||
guard let sourceURL = sourceURL else { return finish(.failure(OperationError.appNotFound)) }
|
||||
|
||||
@@ -104,7 +105,7 @@ final class DownloadAppOperation: ResultOperation<ALTApplication> {
|
||||
do {
|
||||
try FileManager.default.removeItem(at: temporaryDirectory)
|
||||
} catch {
|
||||
print("Failed to remove DownloadAppOperation temporary directory: \(temporaryDirectory).", error)
|
||||
os_log("Failed to remove DownloadAppOperation temporary directory: %@. %@", type: .error , temporaryDirectory.absoluteString, error.localizedDescription)
|
||||
}
|
||||
|
||||
super.finish(result)
|
||||
|
||||
Reference in New Issue
Block a user