aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-electron_lib_browser_init.ts
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-electron_lib_browser_init.ts')
-rw-r--r--devel/electron37/files/patch-electron_lib_browser_init.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-electron_lib_browser_init.ts b/devel/electron37/files/patch-electron_lib_browser_init.ts
new file mode 100644
index 000000000000..ea64a2c6c8f1
--- /dev/null
+++ b/devel/electron37/files/patch-electron_lib_browser_init.ts
@@ -0,0 +1,11 @@
+--- electron/lib/browser/init.ts.orig 2025-04-04 05:26:44 UTC
++++ electron/lib/browser/init.ts
+@@ -165,7 +165,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;