mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -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://www.electronjs.org/
18 lines
754 B
C++
18 lines
754 B
C++
--- ui/base/ui_base_switches.cc.orig 2024-08-14 20:56:04 UTC
|
|
+++ ui/base/ui_base_switches.cc
|
|
@@ -31,13 +31,13 @@ const char kEnableResourcesFileSharing[] = "enable-res
|
|
const char kEnableResourcesFileSharing[] = "enable-resources-file-sharing";
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// Specifies system font family name. Improves determenism when rendering
|
|
// pages in headless mode.
|
|
const char kSystemFontFamily[] = "system-font-family";
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
// Specify the toolkit used to construct the Linux GUI.
|
|
const char kUiToolkitFlag[] = "ui-toolkit";
|
|
// Disables GTK IME integration.
|