ports/devel/electron35/files/patch-chrome_common_channel__info.h
Hiroki Tagato 3fe2f64857 devel/electron35: 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/
2025-04-08 21:01:02 +09:00

20 lines
625 B
C++

--- chrome/common/channel_info.h.orig 2024-06-18 21:43:25 UTC
+++ chrome/common/channel_info.h
@@ -12,7 +12,7 @@
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
namespace base {
class Environment;
}
@@ -100,7 +100,7 @@ std::string GetChannelSuffixForDataDir();
std::string GetChannelSuffixForDataDir();
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::string GetChannelSuffixForExtraFlagsEnvVarName();
// Returns the channel-specific filename of the desktop shortcut used to launch