Revert Joelle's fix

This commit is contained in:
naturecodevoid
2023-04-01 16:15:04 -07:00
parent b8c3060037
commit b1ed413c4f

View File

@@ -11,12 +11,9 @@ import AltSign
extension ALTApplication
{
static let altstoreBundleID = Bundle.Info.appbundleIdentifier
static let altstoreBundleIDOriginal = "AltStore"
static let storeBundleID = "SideStore"
static let widgetID = "Widget"
var isAltStoreApp: Bool {
let isAltStoreApp = ( self.bundleIdentifier.contains(ALTApplication.altstoreBundleID) || self.bundleIdentifier.contains(ALTApplication.altstoreBundleIDOriginal) || self.bundleIdentifier.contains(ALTApplication.storeBundleID) ) && !self.bundleIdentifier.contains(ALTApplication.widgetID)
let isAltStoreApp = self.bundleIdentifier.contains(ALTApplication.altstoreBundleID)
return isAltStoreApp
}
}