atom.asar -> electron.asar
This commit is contained in:
parent
c036986cc4
commit
ce95747a25
3 changed files with 4 additions and 4 deletions
|
@ -161,7 +161,7 @@ node::Environment* NodeBindings::CreateEnvironment(
|
||||||
FILE_PATH_LITERAL("browser") : FILE_PATH_LITERAL("renderer");
|
FILE_PATH_LITERAL("browser") : FILE_PATH_LITERAL("renderer");
|
||||||
base::FilePath resources_path = GetResourcesPath(is_browser_);
|
base::FilePath resources_path = GetResourcesPath(is_browser_);
|
||||||
base::FilePath script_path =
|
base::FilePath script_path =
|
||||||
resources_path.Append(FILE_PATH_LITERAL("atom.asar"))
|
resources_path.Append(FILE_PATH_LITERAL("electron.asar"))
|
||||||
.Append(process_type)
|
.Append(process_type)
|
||||||
.Append(FILE_PATH_LITERAL("init.js"));
|
.Append(FILE_PATH_LITERAL("init.js"));
|
||||||
std::string script_path_str = script_path.AsUTF8Unsafe();
|
std::string script_path_str = script_path.AsUTF8Unsafe();
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
},
|
},
|
||||||
# The application doesn't have real localizations, it just has
|
# The application doesn't have real localizations, it just has
|
||||||
# empty .lproj directories, which is enough to convince Cocoa
|
# empty .lproj directories, which is enough to convince Cocoa
|
||||||
# atom-shell supports those languages.
|
# that Electron supports those languages.
|
||||||
{
|
{
|
||||||
'postbuild_name': 'Make Empty Localizations',
|
'postbuild_name': 'Make Empty Localizations',
|
||||||
'variables': {
|
'variables': {
|
||||||
|
@ -353,7 +353,7 @@
|
||||||
'<@(js_sources)',
|
'<@(js_sources)',
|
||||||
],
|
],
|
||||||
'outputs': [
|
'outputs': [
|
||||||
'<(resources_path)/atom.asar',
|
'<(resources_path)/electron.asar',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [
|
||||||
'python',
|
'python',
|
||||||
|
|
|
@ -26,7 +26,7 @@ class CallbacksRegistry {
|
||||||
if (location.indexOf('(native)') !== -1) {
|
if (location.indexOf('(native)') !== -1) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if (location.indexOf('atom.asar') !== -1) {
|
if (location.indexOf('electron.asar') !== -1) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
ref = /([^\/^\)]*)\)?$/gi.exec(location)
|
ref = /([^\/^\)]*)\)?$/gi.exec(location)
|
||||||
|
|
Loading…
Reference in a new issue