UpdateSputnik // Fix a conditioning error in dataDidSet(). (#244)
This commit is contained in:
parent
2800ec9f89
commit
05f2ba4526
|
@ -105,7 +105,8 @@ public class UpdateSputnik {
|
|||
let intCurrentVersion = Int(dicMainBundle[kCFBundleVersionKey as String] as? String ?? ""),
|
||||
let strCurrentVersionShortened = dicMainBundle["CFBundleShortVersionString"] as? String
|
||||
else { return } // Shouldn't happen.
|
||||
if intRemoteVersion <= intCurrentVersion, isCurrentCheckForced {
|
||||
if intRemoteVersion <= intCurrentVersion {
|
||||
guard isCurrentCheckForced else { return }
|
||||
let alert = NSAlert()
|
||||
alert.messageText = NSLocalizedString("Update Check Completed", comment: "")
|
||||
alert.informativeText = NSLocalizedString("You are already using the latest version.", comment: "")
|
||||
|
|
Loading…
Reference in New Issue