UpdateSputnik // Patch a misnotification.

This commit is contained in:
ShikiSuen 2024-02-10 16:28:24 +08:00
parent df5075972a
commit 7fd6ea36da
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ public class UpdateSputnik {
let intCurrentVersion = Int(dicMainBundle[kCFBundleVersionKey as String] as? String ?? ""),
let strCurrentVersionShortened = dicMainBundle["CFBundleShortVersionString"] as? String
else { return } // Shouldn't happen.
let isRemoteMainStreamDistro: Bool = dicMainBundle["IsMainStreamDistro"] as? Bool ?? true
/// isRemoteMainStreamDistro Aqua false true
let isRemoteMainStreamDistro: Bool = plist["IsMainStreamDistro"] as? Bool ?? true
let crossDistroNotification = Self.isMainStreamRelease != isRemoteMainStreamDistro
versionCheck: if intRemoteVersion <= intCurrentVersion {
guard isCurrentCheckForced else { return }