From 1a71871c3d951feb058f70a441e89c1819e6a253 Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Thu, 18 Sep 2025 18:31:35 +0900 Subject: devel/electron38: 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/ --- devel/electron38/files/patch-extensions_common_command.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/electron38/files/patch-extensions_common_command.cc (limited to 'devel/electron38/files/patch-extensions_common_command.cc') diff --git a/devel/electron38/files/patch-extensions_common_command.cc b/devel/electron38/files/patch-extensions_common_command.cc new file mode 100644 index 000000000000..d428800fadea --- /dev/null +++ b/devel/electron38/files/patch-extensions_common_command.cc @@ -0,0 +1,11 @@ +--- extensions/common/command.cc.orig 2025-08-26 20:49:50 UTC ++++ extensions/common/command.cc +@@ -117,7 +117,7 @@ std::string Command::CommandPlatform() { + return ui::kKeybindingPlatformMac; + #elif BUILDFLAG(IS_CHROMEOS) + return ui::kKeybindingPlatformChromeOs; +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return ui::kKeybindingPlatformLinux; + #elif BUILDFLAG(IS_DESKTOP_ANDROID) + // For now, we use linux keybindings on desktop android. -- cgit v1.2.3