move it behind pendiungunitcount 60

This commit is contained in:
spidy123222
2025-03-31 21:34:30 -07:00
committed by Spidy123222
parent 7ff4b48223
commit 1a1aa42e02

View File

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