mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 11:13:28 +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
|
extension ALTApplication
|
||||||
{
|
{
|
||||||
static let altstoreBundleID = Bundle.Info.appbundleIdentifier
|
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 {
|
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
|
return isAltStoreApp
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user