| 1 |
# Firejail profile for armcord |
| 2 |
# Description: Standalone Discord client |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include armcord.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
# Modules might depend on nodejs. |
| 10 |
# Add the below lines to your armcord.local if you need this. |
| 11 |
# Allow node (disabled by disable-interpreters.inc) |
| 12 |
#include allow-nodejs.inc |
| 13 |
#private-bin node |
| 14 |
|
| 15 |
# The lines below are needed to find the default Firefox profile name, to allow |
| 16 |
# opening links in an existing instance of Firefox (note that it still fails if |
| 17 |
# there isn't a Firefox instance running with the default profile; see #5352) |
| 18 |
noblacklist ${HOME}/.config/mozilla |
| 19 |
noblacklist ${HOME}/.mozilla |
| 20 |
whitelist ${HOME}/.config/mozilla/firefox/profiles.ini |
| 21 |
whitelist ${HOME}/.mozilla/firefox/profiles.ini |
| 22 |
|
| 23 |
noblacklist ${HOME}/.config/ArmCord |
| 24 |
|
| 25 |
mkdir ${HOME}/.config/ArmCord |
| 26 |
whitelist ${HOME}/.config/ArmCord |
| 27 |
whitelist /opt/armcord |
| 28 |
whitelist /usr/share/armcord |
| 29 |
|
| 30 |
ignore novideo |
| 31 |
private-bin armcord |
| 32 |
|
| 33 |
dbus-user filter |
| 34 |
dbus-user.talk org.freedesktop.Notifications |
| 35 |
# Allow D-Bus communication with Firefox for opening links |
| 36 |
dbus-user.talk org.mozilla.* |
| 37 |
ignore dbus-user none |
| 38 |
|
| 39 |
join-or-start armcord |
| 40 |
|
| 41 |
# Redirect |
| 42 |
include electron-common.profile |