From: Cheng Zhao Date: Sat, 28 Jun 2014 15:58:53 +0000 (+0800) Subject: Fix ICU inilialization bug. X-Git-Tag: v0.14.0~1^2~81 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ad19381217baf3e313ce943ad82ee2db7a352de3;p=electron.git Fix ICU inilialization bug. --- diff --git a/atom.gyp b/atom.gyp index 0e2b19bf..9bea1284 100644 --- a/atom.gyp +++ b/atom.gyp @@ -313,6 +313,7 @@ }, 'mac_bundle_resources': [ '<@(bundle_sources)', + '<(libchromiumcontent_resources_dir)/icudtl.dat', ], 'copies': [ { @@ -377,7 +378,6 @@ 'files': [ '<(libchromiumcontent_library_dir)/chromiumcontent.dll', '<(libchromiumcontent_library_dir)/ffmpegsumo.dll', - '<(libchromiumcontent_library_dir)/icudt.dll', '<(libchromiumcontent_library_dir)/libEGL.dll', '<(libchromiumcontent_library_dir)/libGLESv2.dll', '<(libchromiumcontent_resources_dir)/icudtl.dat', @@ -663,7 +663,6 @@ 'mac_bundle_resources': [ 'atom/common/resources/mac/MainMenu.xib', '<(libchromiumcontent_resources_dir)/content_shell.pak', - '<(libchromiumcontent_resources_dir)/icudtl.dat', ], 'xcode_settings': { 'INFOPLIST_FILE': 'atom/common/resources/mac/Info.plist', diff --git a/atom/app/atom_main_delegate.cc b/atom/app/atom_main_delegate.cc index bbee2527..fa07016b 100644 --- a/atom/app/atom_main_delegate.cc +++ b/atom/app/atom_main_delegate.cc @@ -52,10 +52,6 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) { } void AtomMainDelegate::PreSandboxStartup() { -#if defined(OS_MACOSX) - OverrideChildProcessPath(); - OverrideFrameworkBundlePath(); -#endif InitializeResourceBundle(); CommandLine* command_line = CommandLine::ForCurrentProcess();