diff --git a/SUUpdater.m b/SUUpdater.m index 90c55f37..a4d63b50 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -302,7 +302,7 @@ // Override this to change the new version comparison logic! - (BOOL)newVersionAvailable { - BOOL canRunOnCurrentSystem = SUStandardVersionComparison([updateItem minimumSystemVersion], [self systemVersionString]); + BOOL canRunOnCurrentSystem = (SUStandardVersionComparison([updateItem minimumSystemVersion], [self systemVersionString]) != NSOrderedAscending); return (canRunOnCurrentSystem && (SUStandardVersionComparison([updateItem fileVersion], SUHostAppVersion()) == NSOrderedAscending)); // Want straight-up string comparison like Sparkle 1.0b3 and earlier? Uncomment the line below and comment the one above. // return ![SUHostAppVersion() isEqualToString:[updateItem fileVersion]];