blob: 848a1301027e62ced6e92fcd035c5410e4927ecf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- electron/shell/common/node_bindings.cc.orig 2019-12-13 19:48:14 UTC
+++ electron/shell/common/node_bindings.cc
@@ -204,7 +204,7 @@ void NodeBindings::Initialize() {
node::g_standalone_mode = browser_env_ == BrowserEnvironment::BROWSER;
node::g_upstream_node_mode = false;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// Get real command line in renderer process forked by zygote.
if (browser_env_ != BrowserEnvironment::BROWSER)
AtomCommandLine::InitializeFromCommandLine();
|