mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 10:43:30 +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)
|
let context = Context(bundleIdentifier: originalBundleID, authenticatedContext: authContext)
|
||||||
context.resignedApp = resignedApp
|
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 patchAppOperation = PatchAppOperation(context: context)
|
||||||
let sendAppOperation = SendAppOperation(context: context)
|
let sendAppOperation = SendAppOperation(context: context)
|
||||||
let installOperation = InstallAppOperation(context: context)
|
let installOperation = InstallAppOperation(context: context)
|
||||||
|
|
||||||
let installationProgress = Progress.discreteProgress(totalUnitCount: 100)
|
let installationProgress = Progress.discreteProgress(totalUnitCount: 100)
|
||||||
installationProgress.addChild(sendAppOperation.progress, withPendingUnitCount: 40)
|
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)
|
installationProgress.addChild(installOperation.progress, withPendingUnitCount: 60)
|
||||||
|
|
||||||
/* Patch */
|
/* Patch */
|
||||||
|
|||||||
Reference in New Issue
Block a user