From 79c94bd285b08cff705a4ff63c4cd3cabe2caf2a Mon Sep 17 00:00:00 2001 From: Sidney Date: Tue, 7 Mar 2017 07:47:06 +0100 Subject: [PATCH] fix(linux): Add dependencies for supporting Electron Tray (libappindicator) & Notifications (libnotify) for more Linux targets (#1339) pacman: add default dependencies "libnotify", "libappindicator-gtk2", "libappindicator-gtk3", "libappindicator-sharp" rpm: add default dependencies - "libnotify", "libappindicator" Close #1338 --- packages/electron-builder/src/targets/fpm.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/electron-builder/src/targets/fpm.ts b/packages/electron-builder/src/targets/fpm.ts index 0ea18372175..8ca4270fe0b 100644 --- a/packages/electron-builder/src/targets/fpm.ts +++ b/packages/electron-builder/src/targets/fpm.ts @@ -133,7 +133,10 @@ export default class FpmTarget extends Target { depends = ["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"] } else if (target === "pacman") { - depends = ["c-ares", "ffmpeg", "gtk3", "http-parser", "libevent", "libvpx", "libxslt", "libxss", "minizip", "nss", "re2", "snappy"] + depends = ["c-ares", "ffmpeg", "gtk3", "http-parser", "libevent", "libvpx", "libxslt", "libxss", "minizip", "nss", "re2", "snappy", "libnotify", "libappindicator-gtk2", "libappindicator-gtk3", "libappindicator-sharp"] + } + else if (target === "rpm") { + depends = ["libnotify", "libappindicator"] } else { depends = []