Fixes not refreshing AltStore last when refreshing via Shortcut

Could potentially be an issue if AltStore needs to resign itself, e.g. with AltDaemon.
This commit is contained in:
Riley Testut
2023-08-18 17:01:43 -05:00
parent b204f25849
commit 7a715e0ce6

View File

@@ -111,7 +111,7 @@ private extension IntentHandler
func refreshApps(intent: RefreshAllIntent) func refreshApps(intent: RefreshAllIntent)
{ {
DatabaseManager.shared.persistentContainer.performBackgroundTask { (context) in DatabaseManager.shared.persistentContainer.performBackgroundTask { (context) in
let installedApps = InstalledApp.fetchActiveApps(in: context) let installedApps = InstalledApp.fetchAppsForRefreshingAll(in: context)
let operation = AppManager.shared.backgroundRefresh(installedApps, presentsNotifications: false) { (result) in let operation = AppManager.shared.backgroundRefresh(installedApps, presentsNotifications: false) { (result) in
do do
{ {