electron/brightray/common/application_name_mac.mm
Adam Roben 1a1fecf423 Bump the base SDK and deployment target to 10.8
This required working around an incompatibility in base/mac/foundation_util.h.
2013-03-28 17:50:07 -04:00

12 lines
304 B
Text

#import "common/application_name.h"
#import "common/mac/foundation_util.h"
#import "common/mac/main_application_bundle.h"
namespace brightray {
std::string GetApplicationName() {
return [[MainApplicationBundle().infoDictionary objectForKey:base::mac::CFToNSCast(kCFBundleNameKey)] UTF8String];
}
}