diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2024-06-06 19:26:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 19:26:38 +0000 |
commit | be548c2828b1c6e7ee5b37150fcfc5a6296760b1 (patch) | |
tree | cb0f8d7350f5545c1b5603e4f9a5ff35e349ca6a /etc/profile-a-l | |
parent | bugfix: profstats: fix restrict-namespaces max count (#6369) (diff) | |
download | firejail-be548c2828b1c6e7ee5b37150fcfc5a6296760b1.tar.gz firejail-be548c2828b1c6e7ee5b37150fcfc5a6296760b1.tar.zst firejail-be548c2828b1c6e7ee5b37150fcfc5a6296760b1.zip |
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.
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r-- | etc/profile-a-l/armcord.profile | 40 |
1 files changed, 40 insertions, 0 deletions
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 @@ | |||
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}/.mozilla | ||
19 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
20 | |||
21 | noblacklist ${HOME}/.config/ArmCord | ||
22 | |||
23 | mkdir ${HOME}/.config/ArmCord | ||
24 | whitelist ${HOME}/.config/ArmCord | ||
25 | whitelist /opt/armcord | ||
26 | whitelist /usr/share/armcord | ||
27 | |||
28 | ignore novideo | ||
29 | private-bin armcord | ||
30 | |||
31 | dbus-user filter | ||
32 | dbus-user.talk org.freedesktop.Notifications | ||
33 | # Allow D-Bus communication with Firefox for opening links | ||
34 | dbus-user.talk org.mozilla.* | ||
35 | ignore dbus-user none | ||
36 | |||
37 | join-or-start armcord | ||
38 | |||
39 | # Redirect | ||
40 | include electron-common.profile | ||