diff --git a/atom/common/node_bindings.cc b/atom/common/node_bindings.cc index b0b4148c7baf..ce3b9a708152 100644 --- a/atom/common/node_bindings.cc +++ b/atom/common/node_bindings.cc @@ -161,7 +161,7 @@ node::Environment* NodeBindings::CreateEnvironment( FILE_PATH_LITERAL("browser") : FILE_PATH_LITERAL("renderer"); base::FilePath resources_path = GetResourcesPath(is_browser_); base::FilePath script_path = - resources_path.Append(FILE_PATH_LITERAL("atom.asar")) + resources_path.Append(FILE_PATH_LITERAL("electron.asar")) .Append(process_type) .Append(FILE_PATH_LITERAL("init.js")); std::string script_path_str = script_path.AsUTF8Unsafe(); diff --git a/electron.gyp b/electron.gyp index 501cc3ab7772..9652bd662c73 100644 --- a/electron.gyp +++ b/electron.gyp @@ -87,7 +87,7 @@ }, # The application doesn't have real localizations, it just has # empty .lproj directories, which is enough to convince Cocoa - # atom-shell supports those languages. + # that Electron supports those languages. { 'postbuild_name': 'Make Empty Localizations', 'variables': { @@ -353,7 +353,7 @@ '<@(js_sources)', ], 'outputs': [ - '<(resources_path)/atom.asar', + '<(resources_path)/electron.asar', ], 'action': [ 'python', diff --git a/lib/common/api/callbacks-registry.js b/lib/common/api/callbacks-registry.js index 3e71899df293..7a9bf534f72d 100644 --- a/lib/common/api/callbacks-registry.js +++ b/lib/common/api/callbacks-registry.js @@ -26,7 +26,7 @@ class CallbacksRegistry { if (location.indexOf('(native)') !== -1) { continue } - if (location.indexOf('atom.asar') !== -1) { + if (location.indexOf('electron.asar') !== -1) { continue } ref = /([^\/^\)]*)\)?$/gi.exec(location)