ports/devel/electron31/files/patch-content_child_child__process.cc
Hiroki Tagato f972de2bb9 devel/electron31: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-07-19 17:07:07 +09:00

11 lines
594 B
C++

--- content/child/child_process.cc.orig 2023-11-29 21:40:01 UTC
+++ content/child/child_process.cc
@@ -66,7 +66,7 @@ ChildProcess::ChildProcess(base::ThreadType io_thread_
thread_pool_init_params)
: resetter_(&child_process, this, nullptr),
io_thread_(std::make_unique<ChildIOThread>()) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
const bool is_embedded_in_browser_process =