[AltServer] Advertises unique server ID + writes to AltStore Info.plist

AltServer adds its own server ID to AltStore’s Info.plist when resigning. This allows AltStore to prefer the server it was installed with.
This commit is contained in:
Riley Testut
2019-08-01 10:45:54 -07:00
parent 33d596dee8
commit a1c9049b4b
6 changed files with 53 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ aNotification: Notification)
{
UserDefaults.standard.registerDefaults()
UNUserNotificationCenter.current().delegate = self
ConnectionManager.shared.start()