mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Simplified check
This commit is contained in:
1 parent
6d0c734c26
commit
8fd44c06bf
1 file changed
+1
-7
Vendored
+1
-7
@@ -60,13 +60,7 @@
|
||||
|
||||
- (BOOL)isMacOsUpdate
|
||||
{
|
||||
BOOL result = true;
|
||||
|
||||
if (self.osString != nil && [self.osString caseInsensitiveCompare:SUAppcastAttributeValueMacOS] != NSOrderedSame)
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
return self.osString == nil || [self.osString isEqualToString:SUAppcastAttributeValueMacOS];
|
||||
}
|
||||
|
||||
- (BOOL)isInformationOnlyUpdate
|
||||
|
||||
Reference in new issue
Block a user