aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-electron_shell_common_platform__util.h
blob: 7b773c9a481d360a642c1ab1de95d81a594cdc07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/shell/common/platform_util.h.orig	2025-07-02 10:12:01 UTC
+++ electron/shell/common/platform_util.h
@@ -57,7 +57,7 @@ bool SetLoginItemEnabled(const std::string& type,
                          bool enabled);
 #endif
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 // Returns a desktop name if available.
 // Unlike libgtkui, does *not* use "chromium-browser.desktop" as a fallback.
 std::optional<std::string> GetDesktopName();