Hopefully fix problem

Signed-off-by: Spidy123222 <64176728+Spidy123222@users.noreply.github.com>
This commit is contained in:
Spidy123222
2025-03-31 17:44:40 -07:00
parent d8783230a7
commit 06e38aae00

View File

@@ -225,9 +225,9 @@ final class InstallAppOperation: ResultOperation<InstalledApp>
}
do {
if let url = URL(string: "shortcuts://run-shortcut?name=TurnOffData") {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
let shortcutURL = URL(string: "shortcuts://run-shortcut?name=TurnOffData")!
UIApplication.shared.open(shortcutURL, options: [:], completionHandler: nil)
try install_ipa(installedApp.bundleIdentifier)
installing = false
installedApp.refreshedDate = Date()