From 1a1aa42e021fdeaa295a02b3fd206aa143f99dc5 Mon Sep 17 00:00:00 2001 From: spidy123222 Date: Mon, 31 Mar 2025 21:34:30 -0700 Subject: [PATCH] move it behind pendiungunitcount 60 --- AltStore/Managing Apps/AppManager.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AltStore/Managing Apps/AppManager.swift b/AltStore/Managing Apps/AppManager.swift index 0713937a..f873307a 100644 --- a/AltStore/Managing Apps/AppManager.swift +++ b/AltStore/Managing Apps/AppManager.swift @@ -953,16 +953,16 @@ extension AppManager let context = Context(bundleIdentifier: originalBundleID, authenticatedContext: authContext) context.resignedApp = resignedApp - let shortcutURLoff = URL(string: "shortcuts://run-shortcut?name=TurnOffData")! - let shortcutURLon = URL(string: "shortcuts://run-shortcut?name=TurnOnData")! - - UIApplication.shared.open(shortcutURLoff, options: [:], completionHandler: nil) let patchAppOperation = PatchAppOperation(context: context) let sendAppOperation = SendAppOperation(context: context) let installOperation = InstallAppOperation(context: context) let installationProgress = Progress.discreteProgress(totalUnitCount: 100) installationProgress.addChild(sendAppOperation.progress, withPendingUnitCount: 40) + let shortcutURLoff = URL(string: "shortcuts://run-shortcut?name=TurnOffData")! + let shortcutURLon = URL(string: "shortcuts://run-shortcut?name=TurnOnData")! + + UIApplication.shared.open(shortcutURLoff, options: [:], completionHandler: nil) installationProgress.addChild(installOperation.progress, withPendingUnitCount: 60) /* Patch */