mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -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/
18 lines
744 B
C++
18 lines
744 B
C++
--- ui/base/ui_base_switches.cc.orig 2025-01-27 17:37:37 UTC
|
|
+++ ui/base/ui_base_switches.cc
|
|
@@ -24,13 +24,13 @@ const char kShowMacOverlayBorders[] = "show-mac-overla
|
|
const char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
|
|
#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.
|