Sparkle source code should be independent on bundle identifier

This commit is contained in:
Antonin Hildebrand committed 2012-12-14 00:08:55 +01:00
1 parent 6d967e8641
commit 7a1dc310d6
1 file changed
+1 -2
+1 -2
View File
@@ -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]);