mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 11:43:24 +01:00
Fix certificate issues
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -19,7 +19,7 @@ archive.xcarchive
|
|||||||
*.perspectivev3
|
*.perspectivev3
|
||||||
!default.perspectivev3
|
!default.perspectivev3
|
||||||
xcuserdata
|
xcuserdata
|
||||||
|
AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm
|
||||||
## Other
|
## Other
|
||||||
*.xccheckout
|
*.xccheckout
|
||||||
*.moved-aside
|
*.moved-aside
|
||||||
|
|||||||
@@ -525,7 +525,7 @@ private extension AuthenticationOperation
|
|||||||
func replaceCertificate(from certificates: [ALTCertificate])
|
func replaceCertificate(from certificates: [ALTCertificate])
|
||||||
{
|
{
|
||||||
let ourCertificates = certificates.filter { a in
|
let ourCertificates = certificates.filter { a in
|
||||||
a.machineName?.starts(with: "SideStore") == true
|
a.machineName?.starts(with: "SideStore") == true || a.machineName?.starts(with: "AltStore") == true
|
||||||
}
|
}
|
||||||
|
|
||||||
if ourCertificates.isEmpty {
|
if ourCertificates.isEmpty {
|
||||||
|
|||||||
Reference in New Issue
Block a user