Files
ports/devel/electron42/files/patch-ui_base_accelerators_command.cc
2026-10-04 04:07:15 +00:00

12 lines
496 B
C++

--- ui/base/accelerators/command.cc.orig 2026-01-07 00:52:53 UTC
+++ ui/base/accelerators/command.cc
@@ -80,7 +80,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_FUCHSIA)
// TODO(crbug.com/40220501): Change this once we decide what string should be