diff --git a/AltStore/AppDelegate.swift b/AltStore/AppDelegate.swift index 4ed8642b..497bd9e8 100644 --- a/AltStore/AppDelegate.swift +++ b/AltStore/AppDelegate.swift @@ -291,10 +291,20 @@ private extension AppDelegate } return true + + case "pairing": + let queryItems = components.queryItems?.reduce(into: [String: String]()) { $0[$1.name.lowercased()] = $1.value } ?? [:] + guard let callbackTemplate = queryItems["urlName"]?.removingPercentEncoding else { return false } + + DispatchQueue.main.async { + exportPairingFile(callbackTemplate) + } + + return true case "certificate": let queryItems = components.queryItems?.reduce(into: [String: String]()) { $0[$1.name.lowercased()] = $1.value } ?? [:] - guard let callbackTemplate = queryItems["callback"]?.removingPercentEncoding else { return false } + guard let callbackTemplate = queryItems["callback_template"]?.removingPercentEncoding else { return false } DispatchQueue.main.async { NotificationCenter.default.post(name: AppDelegate.exportCertificateNotification, object: nil, userInfo: [AppDelegate.exportCertificateCallbackTemplateKey: callbackTemplate]) diff --git a/AltStore/Authentication/Authentication.storyboard b/AltStore/Authentication/Authentication.storyboard index b2f0647a..feaf7987 100644 --- a/AltStore/Authentication/Authentication.storyboard +++ b/AltStore/Authentication/Authentication.storyboard @@ -1,9 +1,9 @@ - + - + @@ -14,7 +14,7 @@ - + @@ -42,13 +42,13 @@ - + @@ -57,13 +57,13 @@ -