aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-electron_shell_common_platform__util.h
blob: 286260e8197e7823aab1c2c81347b058d44b1204 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/shell/common/platform_util.h.orig	2021-04-20 23:32:33 UTC
+++ electron/shell/common/platform_util.h
@@ -59,7 +59,7 @@ bool GetLoginItemEnabled();
 bool SetLoginItemEnabled(bool enabled);
 #endif
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 // Returns a success flag.
 // Unlike libgtkui, does *not* use "chromium-browser.desktop" as a fallback.
 bool GetDesktopName(std::string* setme);