We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d6d766 + 979ab66 commit 5e4e904Copy full SHA for 5e4e904
1 file changed
Sparkle/SUHost.m
@@ -102,7 +102,13 @@ - (NSString *)installationPath
102
103
- (NSString *)name
104
{
105
- NSString *name = [self.bundle objectForInfoDictionaryKey:@"CFBundleDisplayName"];
+ NSString *name;
106
+
107
+ // Allow host bundle to provide a custom name
108
+ name = [self objectForInfoDictionaryKey:@"SUBundleName"];
109
+ if (name) return name;
110
111
+ name = [self.bundle objectForInfoDictionaryKey:@"CFBundleDisplayName"];
112
if (name) return name;
113
114
name = [self objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleNameKey];
0 commit comments