Prioritizes AltServer that originally installed AltStore over others

This commit is contained in:
Riley Testut
2019-09-03 23:47:47 -07:00
parent d03f963d9b
commit 0c1f469dfa
6 changed files with 90 additions and 9 deletions

View File

@@ -11,6 +11,7 @@ import UserNotifications
import AVFoundation
import AltSign
import AltKit
import Roxas
private enum RefreshError: LocalizedError
@@ -68,6 +69,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
UserDefaults.standard.firstLaunch = Date()
}
UserDefaults.standard.preferredServerID = Bundle.main.object(forInfoDictionaryKey: Bundle.Info.serverID) as? String
self.prepareForBackgroundFetch()
return true