fix sboard errors, and notification retain error

This commit is contained in:
Joe Mattiello
2023-03-02 01:49:38 -05:00
parent 478b30c8fd
commit 10f5ee1548
5 changed files with 33 additions and 14 deletions

View File

@@ -100,7 +100,10 @@ public final class BackgroundRefreshAppsOperation: ResultOperation<[String: Resu
let group = AppManager.shared.refresh(filteredApps, presentingViewController: nil)
group.beginInstallationHandler = { installedApp in
guard installedApp.bundleIdentifier == StoreApp.altstoreAppID else { return }
guard installedApp.bundleIdentifier == StoreApp.altstoreAppID else {
os_log("Skipping app with bundleID == `altstoreAppID` : %@", type: .debug, StoreApp.altstoreAppID)
return
}
// We're starting to install AltStore, which means the app is about to quit.
// So, we schedule a "refresh successful" local notification to be displayed after a delay,