From ff7966d96a22b6f0cd33a3af52495bad8e2679a2 Mon Sep 17 00:00:00 2001 From: Oz Solomon Date: Tue, 20 Oct 2015 17:44:30 -0400 Subject: [PATCH] Fix: sparkleBundle not calculated correctly when SUUpdater is subclassed by a class in a different bundle. --- Sparkle/SUUpdater.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 2e0390b3..7ab7271a 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -83,7 +83,7 @@ static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaults self = [super init]; if (bundle == nil) bundle = [NSBundle mainBundle]; - self.sparkleBundle = [NSBundle bundleForClass:[self class]]; + self.sparkleBundle = [NSBundle bundleForClass:[SUUpdater class]]; if (!self.sparkleBundle) { SULog(@"Error: SUUpdater can't find Sparkle.framework it belongs to"); return nil;