Skip to content

Commit

Permalink
New profile: armcord (#6365)
Browse files Browse the repository at this point in the history
Description: Standalone Discord client.

https://armcord.app/
https://github.com/NextWork123/ArmCord

Requested in #1139 (comment).
  • Loading branch information
glitsj16 authored Jun 6, 2024
1 parent 8982095 commit be548c2
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
40 changes: 40 additions & 0 deletions etc/profile-a-l/armcord.profile
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ arduino
aria2c
ark
arm
armcord
artha
assogiate
asunder
Expand Down

0 comments on commit be548c2

Please sign in to comment.