parent
2b1c305841
commit
bb7de6897e
Binary file not shown.
|
@ -276,7 +276,7 @@
|
||||||
// Override this to change the new version comparison logic!
|
// Override this to change the new version comparison logic!
|
||||||
- (BOOL)newVersionAvailable
|
- (BOOL)newVersionAvailable
|
||||||
{
|
{
|
||||||
BOOL canRunOnCurrentSystem = SUStandardVersionComparison([updateItem minimumSystemVersion], [self systemVersionString]);
|
BOOL canRunOnCurrentSystem = (SUStandardVersionComparison([updateItem minimumSystemVersion], [self systemVersionString]) != NSOrderedAscending);
|
||||||
return (canRunOnCurrentSystem && (SUStandardVersionComparison([updateItem fileVersion], SUHostAppVersion()) == 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.
|
// 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]];
|
// return ![SUHostAppVersion() isEqualToString:[updateItem fileVersion]];
|
||||||
|
|
Loading…
Reference in New Issue