From be548c2828b1c6e7ee5b37150fcfc5a6296760b1 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Thu, 6 Jun 2024 19:26:38 +0000 Subject: New profile: armcord (#6365) Description: Standalone Discord client. https://armcord.app/ https://github.com/NextWork123/ArmCord Requested in https://github.com/netblue30/firejail/issues/1139#issuecomment-2140174880. --- etc/inc/disable-programs.inc | 1 + etc/profile-a-l/armcord.profile | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 etc/profile-a-l/armcord.profile (limited to 'etc') diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index f638e1d97..73876fde3 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -259,6 +259,7 @@ blacklist ${HOME}/.clonk blacklist ${HOME}/.config/0ad blacklist ${HOME}/.config/1Password blacklist ${HOME}/.config/2048-qt +blacklist ${HOME}/.config/ArmCord blacklist ${HOME}/.config/Atom blacklist ${HOME}/.config/Audaciousrc blacklist ${HOME}/.config/Authenticator diff --git a/etc/profile-a-l/armcord.profile b/etc/profile-a-l/armcord.profile new file mode 100644 index 000000000..470e0dee0 --- /dev/null +++ b/etc/profile-a-l/armcord.profile @@ -0,0 +1,40 @@ +# Firejail profile for armcord +# Description: Standalone Discord client +# This file is overwritten after every install/update +# Persistent local customizations +include armcord.local +# Persistent global definitions +include globals.local + +# Modules might depend on nodejs. +# Add the below lines to your armcord.local if you need this. +# Allow node (disabled by disable-interpreters.inc) +#include allow-nodejs.inc +#private-bin node + +# The lines below are needed to find the default Firefox profile name, to allow +# opening links in an existing instance of Firefox (note that it still fails if +# there isn't a Firefox instance running with the default profile; see #5352) +noblacklist ${HOME}/.mozilla +whitelist ${HOME}/.mozilla/firefox/profiles.ini + +noblacklist ${HOME}/.config/ArmCord + +mkdir ${HOME}/.config/ArmCord +whitelist ${HOME}/.config/ArmCord +whitelist /opt/armcord +whitelist /usr/share/armcord + +ignore novideo +private-bin armcord + +dbus-user filter +dbus-user.talk org.freedesktop.Notifications +# Allow D-Bus communication with Firefox for opening links +dbus-user.talk org.mozilla.* +ignore dbus-user none + +join-or-start armcord + +# Redirect +include electron-common.profile -- cgit v1.2.3-54-g00ecf