From 7a715e0ce6869dd8b1b9fe334e08bc9df45cbb73 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Fri, 18 Aug 2023 17:01:43 -0500 Subject: [PATCH] Fixes not refreshing AltStore last when refreshing via Shortcut Could potentially be an issue if AltStore needs to resign itself, e.g. with AltDaemon. --- AltStore/Intents/IntentHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AltStore/Intents/IntentHandler.swift b/AltStore/Intents/IntentHandler.swift index e0f5c8ac..7abb9e99 100644 --- a/AltStore/Intents/IntentHandler.swift +++ b/AltStore/Intents/IntentHandler.swift @@ -111,7 +111,7 @@ private extension IntentHandler func refreshApps(intent: RefreshAllIntent) { 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 do {