Move attempt to a higher Stage.

This commit is contained in:
spidy123222
2025-03-31 21:09:17 -07:00
committed by Spidy123222
parent 4801f6e8f2
commit 7ff4b48223
2 changed files with 1 additions and 7 deletions

View File

@@ -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)