mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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/
20 lines
897 B
C++
20 lines
897 B
C++
--- chrome/common/channel_info_posix.cc.orig 2024-10-16 21:31:04 UTC
|
|
+++ chrome/common/channel_info_posix.cc
|
|
@@ -95,7 +95,7 @@ std::string GetChannelSuffixForDataDir() {
|
|
}
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
std::string GetChannelSuffixForExtraFlagsEnvVarName() {
|
|
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
|
const auto channel_state = GetChannelImpl();
|
|
@@ -123,7 +123,7 @@ std::string GetChannelSuffixForExtraFlagsEnvVarName()
|
|
|
|
// TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
|
|
// of lacros-chrome is complete.
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
|
std::string GetDesktopName(base::Environment* env) {
|
|
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
|
// Google Chrome packaged as a snap is a special case: the application name
|