aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-electron_lib_browser_init.ts
blob: 8d8724e4587b1b75b0ef032ae6ad4e392386a847 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/lib/browser/init.ts.orig	2024-10-09 13:53:06 UTC
+++ electron/lib/browser/init.ts
@@ -162,7 +162,7 @@ function currentPlatformSupportsAppIndicator () {
 const KNOWN_XDG_DESKTOP_VALUES = new Set(['Pantheon', 'Unity:Unity7', 'pop:GNOME']);
 
 function currentPlatformSupportsAppIndicator () {
-  if (process.platform !== 'linux') return false;
+  if (process.platform !== 'linux' && process.platform !== 'freebsd') return false;
   const currentDesktop = process.env.XDG_CURRENT_DESKTOP;
 
   if (!currentDesktop) return false;