ports/devel/electron30/files/patch-chrome_app_chrome__command__ids.h
Hiroki Tagato 05dc815519 devel/electron30: 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-06-03 16:53:15 +09:00

17 lines
611 B
C

--- chrome/app/chrome_command_ids.h.orig 2023-10-19 19:58:00 UTC
+++ chrome/app/chrome_command_ids.h
@@ -68,12 +68,12 @@
#define IDC_TOGGLE_MULTITASK_MENU 34050
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#define IDC_USE_SYSTEM_TITLE_BAR 34051
#endif
// TODO(crbug.com/1052397): 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)
#define IDC_RESTORE_WINDOW 34052
#endif