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 */