mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
s/requiresValidationBeforUnarchiving/unsafeIfArchiveIsNotValidated/
This commit is contained in:
1 parent
9a32766aeb
commit
c0b9eaaa0e
6 files changed
+6
-6
No files matched your search
Vendored
+1
-1
@@ -391,7 +391,7 @@
|
||||
if (!unarchiver) {
|
||||
SULog(@"Error: No valid unarchiver for %@!", self.downloadPath);
|
||||
success = NO;
|
||||
} else if ([[unarchiver class] requiresValidationBeforeUnarchiving]) {
|
||||
} else if ([[unarchiver class] unsafeIfArchiveIsNotValidated]) {
|
||||
// Currently just binary delta updates require validation before unarchiving
|
||||
|
||||
NSString *publicDSAKey = self.host.publicDSAKey;
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
return [[path pathExtension] isEqualToString:@"delta"];
|
||||
}
|
||||
|
||||
+ (BOOL)requiresValidationBeforeUnarchiving
|
||||
+ (BOOL)unsafeIfArchiveIsNotValidated
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -18,7 +18,7 @@
|
||||
return [[path pathExtension] isEqualToString:@"dmg"];
|
||||
}
|
||||
|
||||
+ (BOOL)requiresValidationBeforeUnarchiving
|
||||
+ (BOOL)unsafeIfArchiveIsNotValidated
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -41,7 +41,7 @@
|
||||
return NULL;
|
||||
}
|
||||
|
||||
+ (BOOL)requiresValidationBeforeUnarchiving
|
||||
+ (BOOL)unsafeIfArchiveIsNotValidated
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -23,7 +23,7 @@
|
||||
|
||||
+ (SUUnarchiver *)unarchiverForPath:(NSString *)path updatingHostBundlePath:(NSString *)host withPassword:(NSString *)decryptionPassword;
|
||||
|
||||
+ (BOOL)requiresValidationBeforeUnarchiving;
|
||||
+ (BOOL)unsafeIfArchiveIsNotValidated;
|
||||
|
||||
- (void)start;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -55,7 +55,7 @@
|
||||
return NO;
|
||||
}
|
||||
|
||||
+ (BOOL)requiresValidationBeforeUnarchiving
|
||||
+ (BOOL)unsafeIfArchiveIsNotValidated
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user