mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fixes widget refreshing and is more thorough matching store ID
This commit is contained in:
@@ -11,10 +11,12 @@ import AltSign
|
||||
extension ALTApplication
|
||||
{
|
||||
static let altstoreBundleID = Bundle.Info.appbundleIdentifier
|
||||
static let altstoreBundleIDOriginal = "rileytestut.AltStore"
|
||||
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)
|
||||
let isAltStoreApp = ( self.bundleIdentifier.contains(ALTApplication.altstoreBundleID) || self.bundleIdentifier.contains(ALTApplication.altstoreBundleIDOriginal) || self.bundleIdentifier.contains(ALTApplication.storeBundleID) ) && !self.bundleIdentifier.contains(ALTApplication.widgetID)
|
||||
return isAltStoreApp
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user