mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
move it behind pendiungunitcount 60
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user