Commit 21a63e66 authored by Eriksson Monteiro's avatar Eriksson Monteiro

update millix node path (macos)

parent 5ec810e4
......@@ -928,14 +928,19 @@ int BrowserMainLoop::CreateMillixNode() {
LOG(INFO) << "running node from " << dir_exe.value().c_str();
base::LaunchOptions options;
options.current_directory = dir_exe.AppendASCII("millix_node");
#if defined(OS_MAC)
options.current_directory = dir_exe.AppendASCII("../Resources/millix_node");
#else
options.current_directory = dir_exe.AppendASCII("millix_node");
#endif
#if defined(OS_WIN)
options.start_hidden = true;
base::CommandLine millix_command_line(
dir_exe.AppendASCII("millix_node\\nodejs-win\\node.exe"));
#else
#if defined(OS_MAC)
base::CommandLine millix_command_line(dir_exe.AppendASCII("millix_node/nodejs-osx/bin/node"));
base::CommandLine millix_command_line(dir_exe.AppendASCII("../Resources/millix_node/nodejs-osx/bin/node"));
#else
base::CommandLine millix_command_line(dir_exe.AppendASCII("millix_node/nodejs-linux/bin/node"));
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment