Adds support for installing AltStore beta from AltStore

This commit is contained in:
Riley Testut
2019-09-12 13:04:15 -07:00
parent e3bf6d6239
commit 502a5488b0
5 changed files with 24 additions and 15 deletions

View File

@@ -14,7 +14,13 @@ import AltSign
extension StoreApp
{
#if BETA
static let altstoreAppID = "com.rileytestut.AltStore.Beta"
static let alternativeAltStoreAppID = "com.rileytestut.AltStore"
#else
static let altstoreAppID = "com.rileytestut.AltStore"
static let alternativeAltStoreAppID = "com.rileytestut.AltStore.Beta"
#endif
}
@objc(StoreApp)
@@ -139,6 +145,10 @@ extension StoreApp
app.versionDate = Date()
app.downloadURL = URL(string: "http://rileytestut.com")!
#if BETA
app.isBeta = true
#endif
return app
}
}