mac: Use "Atom Framework.framework" instead of "Atom.framework".

The "Atom.framework" would confuse breakpad with "App.app" when finding
symbols.
This commit is contained in:
Cheng Zhao 2013-11-25 15:37:39 +08:00
parent b737e602b7
commit a5224f705d
3 changed files with 11 additions and 8 deletions

View file

@ -20,7 +20,9 @@ void AtomBrowserMainParts::PreMainMessageLoopStart() {
[NSApp setDelegate:delegate];
base::FilePath frameworkPath = brightray::MainApplicationBundlePath()
.Append("Contents").Append("Frameworks").Append("Atom.framework");
.Append("Contents")
.Append("Frameworks")
.Append("Atom Framework.framework");
NSBundle* frameworkBundle = [NSBundle
bundleWithPath:base::mac::FilePathToNSString(frameworkPath)];
NSNib* mainNib = [[NSNib alloc] initWithNibNamed:@"MainMenu"