mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
Changelog: https://github.com/electron/electron/releases/tag/v32.2.0 Reported by: GitHub (watch releases)
11 lines
539 B
TypeScript
11 lines
539 B
TypeScript
--- 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;
|