blob: 46f3242ca52e28cebbb21a69fd737f4b70783cf0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- electron/lib/browser/init.js.orig 2019-05-23 04:06:34 UTC
+++ electron/lib/browser/init.js
@@ -164,7 +164,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
|