mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 02:33:27 +01:00
Disables “Revoked AltStore Certificate” check for debug builds
This commit is contained in:
@@ -524,6 +524,9 @@ private extension AuthenticationOperation
|
|||||||
// If we're not using the same certificate used to install AltStore, warn user that they need to refresh.
|
// If we're not using the same certificate used to install AltStore, warn user that they need to refresh.
|
||||||
guard !provisioningProfile.certificates.contains(signer.certificate) else { return completionHandler(false) }
|
guard !provisioningProfile.certificates.contains(signer.certificate) else { return completionHandler(false) }
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
|
completionHandler(false)
|
||||||
|
#else
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
let refreshViewController = self.storyboard.instantiateViewController(withIdentifier: "refreshAltStoreViewController") as! RefreshAltStoreViewController
|
let refreshViewController = self.storyboard.instantiateViewController(withIdentifier: "refreshAltStoreViewController") as! RefreshAltStoreViewController
|
||||||
refreshViewController.signer = signer
|
refreshViewController.signer = signer
|
||||||
@@ -537,6 +540,7 @@ private extension AuthenticationOperation
|
|||||||
completionHandler(false)
|
completionHandler(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user