summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-electron_lib_browser_api_app.js
blob: fd88561c5e2d8c3e5568571680a4a13abc73213e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/lib/browser/api/app.js.orig	2019-05-30 22:14:00 UTC
+++ electron/lib/browser/api/app.js
@@ -71,7 +71,7 @@ if (process.platform === 'darwin') {
   }
 }
 
-if (process.platform === 'linux') {
+if (process.platform === 'linux' || process.platform === 'freebsd') {
   app.launcher = {
     setBadgeCount: bindings.unityLauncherSetBadgeCount,
     getBadgeCount: bindings.unityLauncherGetBadgeCount,