[AltServer] Embeds encrypted certificate in AltStore app bundle

This commit is contained in:
Riley Testut
2019-10-28 12:53:56 -07:00
parent 1fed0ba710
commit 1bde885b17
3 changed files with 16 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ public extension Bundle
{
public static let deviceID = "ALTDeviceID"
public static let serverID = "ALTServerID"
public static let certificateID = "ALTCertificateID"
public static let appGroups = "ALTAppGroups"
public static let urlTypes = "CFBundleURLTypes"
@@ -26,4 +27,9 @@ public extension Bundle
let infoPlistURL = self.bundleURL.appendingPathComponent("Info.plist")
return infoPlistURL
}
var certificateURL: URL {
let infoPlistURL = self.bundleURL.appendingPathComponent("ALTCertificate.p12")
return infoPlistURL
}
}