[AltWidget] Adds interactive Active Apps widget to view + refresh all active apps (iOS 17+)

This commit is contained in:
Riley Testut
2023-09-01 13:27:28 -05:00
parent c7932bf7b1
commit 21c2f8d5ce
16 changed files with 495 additions and 7 deletions

View File

@@ -0,0 +1,28 @@
//
// DatabaseManager+Async.swift
// AltStoreCore
//
// Created by Riley Testut on 8/22/23.
// Copyright © 2023 Riley Testut. All rights reserved.
//
import Foundation
public extension DatabaseManager
{
func start() async throws
{
try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
self.start { error in
if let error
{
continuation.resume(throwing: error)
}
else
{
continuation.resume()
}
}
}
}
}