mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 00:39:15 -04:00
Changelog: https://github.com/electron/electron/releases/tag/v25.8.1 Reported by: GitHub (watch releases) MFH: 2023Q3 Security: 773ce35b-eabb-47e0-98ca-669b2b98107a
11 lines
535 B
TypeScript
11 lines
535 B
TypeScript
--- electron/lib/browser/init.ts.orig 2023-09-12 18:44:33 UTC
|
|
+++ electron/lib/browser/init.ts
|
|
@@ -158,7 +158,7 @@ const mainStartupScript = packageJson.main || 'index.j
|
|
const KNOWN_XDG_DESKTOP_VALUES = ['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;
|