atom.asar -> electron.asar

This commit is contained in:
Kevin Sawicki 2016-03-31 09:26:11 -07:00
parent c036986cc4
commit ce95747a25
3 changed files with 4 additions and 4 deletions

View file

@ -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();

View file

@ -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',

View file

@ -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)