diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index eb2990b5..769358c9 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -161,6 +161,12 @@ [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while downloading the update. Please try again later.", nil), NSLocalizedDescriptionKey, [error localizedDescription], NSLocalizedFailureReasonErrorKey, nil]]]; } +- (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType +{ + if ([encodingType isEqualToString:@"application/gzip"]) return NO; + return YES; +} + - (void)extractUpdate { // DSA verification, if activated by the developer diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 4169c0df..97849720 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -125,7 +125,7 @@ isa = PBXContainerItemProxy; containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = 8DC2EF4F0486A6940098B216 /* Sparkle */; + remoteGlobalIDString = 8DC2EF4F0486A6940098B216; remoteInfo = Sparkle; }; DAAEFD4F0DA572460051E0D0 /* PBXContainerItemProxy */ = {