Fixes 253739

When checking to see if an app is an LSUIElement, Sparkle now checks the info dictionary of the main bundle instead of the info dictionary of the host bundle. That didn't work at all for plugins.
This commit is contained in:
Andy Matuschak committed 2008-08-01 00:12:44 -07:00
1 parent a14850458d
commit 347dd73269
1 file changed
+1 -1
+1 -1
View File
@@ -89,7 +89,7 @@
- (BOOL)isBackgroundApplication
{
return [[bundle objectForInfoDictionaryKey:@"LSUIElement"] doubleValue];
return [[[NSBundle mainBundle] objectForInfoDictionaryKey:@"LSUIElement"] doubleValue];
}
- (NSString *)publicDSAKey