mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
Move attempt to a higher Stage.
This commit is contained in:
@@ -953,13 +953,11 @@ extension AppManager
|
||||
let context = Context(bundleIdentifier: originalBundleID, authenticatedContext: authContext)
|
||||
context.resignedApp = resignedApp
|
||||
|
||||
let patchAppOperation = PatchAppOperation(context: context)
|
||||
/*
|
||||
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)
|
||||
|
||||
|
||||
@@ -212,10 +212,6 @@ private extension PatchAppOperation
|
||||
#if targetEnvironment(simulator)
|
||||
throw PatchAppError.unsupportedOperatingSystemVersion(ProcessInfo.processInfo.operatingSystemVersion)
|
||||
#else
|
||||
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 spotlightPath = "Applications/Spotlight.app/Spotlight"
|
||||
let spotlightFileURL = self.patchDirectory.appendingPathComponent(spotlightPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user