Update requires paths

This commit is contained in:
Kevin Sawicki 2016-03-08 11:07:42 -08:00
parent f109591d03
commit 006c77a00f
6 changed files with 11 additions and 12 deletions

View file

@ -165,7 +165,6 @@ node::Environment* NodeBindings::CreateEnvironment(
base::FilePath script_path =
resources_path.Append(FILE_PATH_LITERAL("atom.asar"))
.Append(process_type)
.Append(FILE_PATH_LITERAL("lib"))
.Append(FILE_PATH_LITERAL("init.js"));
std::string script_path_str = script_path.AsUTF8Unsafe();
args.insert(args.begin() + 1, script_path_str.c_str());