aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-electron_shell_common_platform__util.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-electron_shell_common_platform__util.h')
-rw-r--r--devel/electron37/files/patch-electron_shell_common_platform__util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-electron_shell_common_platform__util.h b/devel/electron37/files/patch-electron_shell_common_platform__util.h
new file mode 100644
index 000000000000..7b773c9a481d
--- /dev/null
+++ b/devel/electron37/files/patch-electron_shell_common_platform__util.h
@@ -0,0 +1,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();