Additional UI nicities.
Fixed bug in sparkle minimum version check.
This commit is contained in:
parent
2b1c305841
commit
bb7de6897e
2 changed files with 1 additions and 1 deletions
BIN
English.lproj/MainMenu.nib/keyedobjects.nib
generated
BIN
English.lproj/MainMenu.nib/keyedobjects.nib
generated
Binary file not shown.
2
Frameworks/Sparkle/SUUpdater.m
vendored
2
Frameworks/Sparkle/SUUpdater.m
vendored
|
@ -276,7 +276,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]];
|
||||
|
|
Loading…
Reference in a new issue