forked from netblue30/firejail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description: Standalone Discord client. https://armcord.app/ https://github.com/NextWork123/ArmCord Requested in netblue30#1139 (comment).
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,6 +63,7 @@ arduino | |
aria2c | ||
ark | ||
arm | ||
armcord | ||
artha | ||
assogiate | ||
asunder | ||
|