[AltServer] Shows alert when installing AltStore onto second device

This commit is contained in:
Riley Testut
2019-09-14 11:28:57 -07:00
parent f5d29cd2c1
commit e6fc491f6a
3 changed files with 44 additions and 11 deletions

View File

@@ -137,6 +137,10 @@ private extension AppDelegate
let request = UNNotificationRequest(identifier: UUID().uuidString, content: content, trigger: nil)
UNUserNotificationCenter.current().add(request)
case .failure(InstallError.cancelled):
// Ignore
break
case .failure(let error as NSError):
let alert = NSAlert()