diff --git a/AltStore/My Apps/MyAppsViewController.swift b/AltStore/My Apps/MyAppsViewController.swift index d6a337cb..59d9a4fc 100644 --- a/AltStore/My Apps/MyAppsViewController.swift +++ b/AltStore/My Apps/MyAppsViewController.swift @@ -1319,9 +1319,15 @@ private extension MyAppsViewController @available(iOS 14, *) func enableJIT(for installedApp: InstalledApp) { - guard minimuxerStatus else { return } + + let sidejitenabled = UserDefaults.standard.sidejitenable + + if #unavailable(iOS 17) { + guard minimuxerStatus else { return } + } + - if #available(iOS 17, *) { + if #available(iOS 17, *), !sidejitenabled { ToastView(error: (OperationError.tooNewError as NSError).withLocalizedTitle("No iOS 17 On Device JIT!"), opensLog: true).show(in: self) AppManager.shared.log(OperationError.tooNewError, operation: .enableJIT, app: installedApp) return diff --git a/AltStore/Operations/OperationError.swift b/AltStore/Operations/OperationError.swift index d652fa24..44f08b12 100644 --- a/AltStore/Operations/OperationError.swift +++ b/AltStore/Operations/OperationError.swift @@ -166,7 +166,7 @@ struct OperationError: ALTLocalizedError { let appName = self.appName ?? NSLocalizedString("The app", comment: "") return String(format: NSLocalizedString("SideStore was denied permission to launch %@.", comment: ""), appName) case .noWiFi: return NSLocalizedString("You do not appear to be connected to WiFi and/or the WireGuard VPN!\nSideStore will never be able to install or refresh applications without WiFi and the WireGuard VPN.", comment: "") - case .tooNewError: return NSLocalizedString("iOS 17 has changed how JIT is enabled therefore SideStore cannot enable it at this time, sorry for any inconvenience.\nWe will let everyone know once we have a solution!", comment: "") + case .tooNewError: return NSLocalizedString("iOS 17 has changed how JIT is enabled therefore SideStore cannot enable it without SideJITServer at this time, sorry for any inconvenience.\nWe will let everyone know once we have a solution!", comment: "") case .unableToConnectSideJIT: return NSLocalizedString("Unable to connect to SideJITServer Please check that you are on the Same Wi-Fi and your Firewall has been set correctly", comment: "") case .unableToRespondSideJITDevice: return NSLocalizedString("SideJITServer is unable to connect to your iDevice Please make sure you have paired your Device by doing 'SideJITServer -y' or try Refreshing SideJITServer from Settings", comment: "") case .wrongSideJITIP: return NSLocalizedString("Incorrect SideJITServer IP Please make sure that you are on the Samw Wifi as SideJITServer", comment: "") diff --git a/AltStore/Settings/Settings.storyboard b/AltStore/Settings/Settings.storyboard index db0db89b..9bb601dc 100644 --- a/AltStore/Settings/Settings.storyboard +++ b/AltStore/Settings/Settings.storyboard @@ -1,9 +1,9 @@ - + - + @@ -21,7 +21,7 @@