Added a warning log message for bundles which don't have a CFBundleIdentifier key.

This commit is contained in:
Andy Matuschak committed 2008-09-04 10:51:46 -05:00
1 parent cb80e0ef51
commit 874660f52e
1 file changed
+2
+2
View File
@@ -18,6 +18,8 @@
if ((self = [super init]))
{
bundle = [aBundle retain];
if (![bundle bundleIdentifier])
NSLog(@"Sparkle Error: the bundle being updated at %@ has no CFBundleIdentifier! This will cause preference read/write to not work properly.");
}
return self;
}