diff --git a/AltStore/Operations/InstallAppOperation.swift b/AltStore/Operations/InstallAppOperation.swift index 67b36f75..747737bf 100644 --- a/AltStore/Operations/InstallAppOperation.swift +++ b/AltStore/Operations/InstallAppOperation.swift @@ -225,9 +225,9 @@ final class InstallAppOperation: ResultOperation } 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()