From 26b4c8f71f91d22e081b27814782686edde0c90a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Jan 2021 10:11:34 +0000 Subject: Revert r559792 to unbreak INDEX and bulk -a It seems a lot of reverse dependencies were missed With hat: portmgr --- devel/electron6/files/patch-electron_lib_browser_init.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/electron6/files/patch-electron_lib_browser_init.ts (limited to 'devel/electron6/files/patch-electron_lib_browser_init.ts') diff --git a/devel/electron6/files/patch-electron_lib_browser_init.ts b/devel/electron6/files/patch-electron_lib_browser_init.ts new file mode 100644 index 000000000000..df480c5941f0 --- /dev/null +++ b/devel/electron6/files/patch-electron_lib_browser_init.ts @@ -0,0 +1,11 @@ +--- electron/lib/browser/init.ts.orig 2019-09-11 17:30:11 UTC ++++ electron/lib/browser/init.ts +@@ -174,7 +174,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 -- cgit v1.2.3