From 49b1fd751cb0fff0823c5efd1cac5ed1c560f8fa Mon Sep 17 00:00:00 2001 From: nythepegasus Date: Fri, 23 Feb 2024 20:11:00 -0500 Subject: [PATCH] Remove outdated/down servers for now Eventually this could be dynamically pulled/inside SideStore but extra DNS entries and cleaning can work for now --- AltStore/LaunchViewController.swift | 6 ++++-- AltStore/Settings.bundle/Root.plist | 14 ++++---------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/AltStore/LaunchViewController.swift b/AltStore/LaunchViewController.swift index 8e8505f1a..e5544c963 100644 --- a/AltStore/LaunchViewController.swift +++ b/AltStore/LaunchViewController.swift @@ -72,10 +72,11 @@ final class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDeleg fm.fileExists(atPath: appResourcePath.path), let data = fm.contents(atPath: appResourcePath.path), let contents = String(data: data, encoding: .utf8), - !contents.isEmpty { + !contents.isEmpty, + !UserDefaults.standard.isPairingReset { print("Loaded ALTPairingFile from \(appResourcePath.path)") return contents - } else if let plistString = Bundle.main.object(forInfoDictionaryKey: "ALTPairingFile") as? String, !plistString.isEmpty, !plistString.contains("insert pairing file here"){ + } else if let plistString = Bundle.main.object(forInfoDictionaryKey: "ALTPairingFile") as? String, !plistString.isEmpty, !plistString.contains("insert pairing file here"), !UserDefaults.standard.isPairingReset{ print("Loaded ALTPairingFile from Info.plist") return plistString } else { @@ -93,6 +94,7 @@ final class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDeleg documentPickerController.shouldShowFileExtensions = true documentPickerController.delegate = self self.present(documentPickerController, animated: true, completion: nil) + UserDefaults.standard.isPairingReset = false }) //Add OK button to a dialog message diff --git a/AltStore/Settings.bundle/Root.plist b/AltStore/Settings.bundle/Root.plist index ba4ea90a8..486916297 100644 --- a/AltStore/Settings.bundle/Root.plist +++ b/AltStore/Settings.bundle/Root.plist @@ -20,24 +20,18 @@ Titles SideStore + SideStore (.zip) + SideStore (.xyz) Macley (US) - Macley (DE) - DrPudding - Sideloadly - Nick Jawshoeadan - crystall1nedev Values https://ani.sidestore.io + https://ani.sidestore.zip + https://ani.846969.xyz http://5.249.163.88:6969/ - http://45.132.246.138:6969/ - https://sign.rheaa.xyz - https://sideloadly.io/anisette/irGb3Quww8zrhgqnzmrx - http://45.33.29.114 https://anisette.jawshoeadan.me - https://anisette.crystall1ne.software/