Permalink
Browse files

Added a warning log message for bundles which don't have a CFBundleId…

…entifier key.
  • Loading branch information...
1 parent cb80e0e commit 874660f52e46ce41e87f6998251e14ce9df8d08b @andymatuschak andymatuschak committed Sep 4, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 SUHost.m
View
@@ -18,6 +18,8 @@ - (id)initWithBundle:(NSBundle *)aBundle
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;
}

0 comments on commit 874660f

Please sign in to comment.