From 874660f52e46ce41e87f6998251e14ce9df8d08b Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 4 Sep 2008 10:51:46 -0500 Subject: [PATCH] Added a warning log message for bundles which don't have a CFBundleIdentifier key. --- SUHost.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SUHost.m b/SUHost.m index 85d92d38..59fdc11c 100644 --- a/SUHost.m +++ b/SUHost.m @@ -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; }