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
committed by Magesh K
parent a7d52db453
commit e605399633

View File

@@ -127,7 +127,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
{