mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fix SideJITServer Support for iOS 17+ (#674)
* FIx SideJITServer Support * Fix SideJITServer Address * Add Warning when Overwriting SideJITServer Address * Fix Optional Value for SideJITServer URL * Update SideJITServer Address Overwriting * Fix Enabling JIT and Fix IP Address Loop * Fix No WiFi or VPN! error when using SideJITServer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user