]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix ICU inilialization bug.
authorCheng Zhao <zcbenz@gmail.com>
Sat, 28 Jun 2014 15:58:53 +0000 (23:58 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sat, 28 Jun 2014 15:58:53 +0000 (23:58 +0800)
atom.gyp
atom/app/atom_main_delegate.cc

index 0e2b19bf1830690694a3dd72278a0e98847458e1..9bea1284242c3c57463ec499990e19756cb845ee 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
           },
           'mac_bundle_resources': [
             '<@(bundle_sources)',
+            '<(libchromiumcontent_resources_dir)/icudtl.dat',
           ],
           'copies': [
             {
               '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',
           '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',
index bbee2527ff4c15a24f21b6c3b161b36b63abc355..fa07016b2e3ceed3e2ea6577ff5fd65c63a2273e 100644 (file)
@@ -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();