From 7a1dc310d6ac95aa609bc772a64f859df6c35231 Mon Sep 17 00:00:00 2001 From: Antonin Hildebrand Date: Thu, 28 Jul 2011 14:25:24 +0200 Subject: [PATCH] Sparkle source code should be independent on bundle identifier --- Sparkle.pch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sparkle.pch b/Sparkle.pch index 353af461..e11b07f1 100644 --- a/Sparkle.pch +++ b/Sparkle.pch @@ -20,8 +20,7 @@ #ifdef __OBJC__ -// #define SPARKLE_BUNDLE [NSBundle bundleWithIdentifier:@"org.andymatuschak.Sparkle"] -#define SPARKLE_BUNDLE [NSBundle bundleWithIdentifier:@"com.binaryage.sparkle"] +#define SPARKLE_BUNDLE [NSBundle bundleForClass:[SUUpdater class]] #define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", SPARKLE_BUNDLE, comment) #define SUAbstractFail() NSAssert2(nil, @"Can't call %@ on an instance of %@; this is an abstract method!", __PRETTY_FUNCTION__, [self class]);