mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 23:39:20 -04:00
11 lines
535 B
TypeScript
11 lines
535 B
TypeScript
--- electron/lib/browser/init.ts.orig 2021-10-27 21:25:28 UTC
|
|
+++ electron/lib/browser/init.ts
|
|
@@ -151,7 +151,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;
|