mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
discord: fix issues with command-line usage (#5368)
* use both capitalized and regular discord commands to private-bin
* use both capitalized and regular discord commands to private-bin
* add awk and which to private-bin for better xdg-open support
* use both capitalized and regular discord commands to private-bin
* use both capitalized and regular discord commands to private-bin
* refactor CamelCased discord profiles
* refactor CamelCased discord profiles
* fix private-{bin,opt} sorting
* fix private-{bin,opt} sorting
* unfuck private-{bin,opt} sorting
* unfuck private-{bin,opt} sorting
* fix sorting once more for CI
* fix sorting once again for CI
This commit is contained in:
parent
2cfe3ea9d0
commit
3e7b65da2e
5 changed files with 11 additions and 25 deletions
|
|
@ -3,15 +3,8 @@
|
|||
# Persistent local customizations
|
||||
include Discord.local
|
||||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.config/discord
|
||||
|
||||
mkdir ${HOME}/.config/discord
|
||||
whitelist ${HOME}/.config/discord
|
||||
|
||||
private-bin Discord
|
||||
private-opt Discord
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
# Redirect
|
||||
include discord-common.profile
|
||||
include discord.profile
|
||||
|
|
|
|||
|
|
@ -3,15 +3,8 @@
|
|||
# Persistent local customizations
|
||||
include DiscordCanary.local
|
||||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.config/discordcanary
|
||||
|
||||
mkdir ${HOME}/.config/discordcanary
|
||||
whitelist ${HOME}/.config/discordcanary
|
||||
|
||||
private-bin DiscordCanary
|
||||
private-opt DiscordCanary
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
# Redirect
|
||||
include discord-common.profile
|
||||
include discord-canary.profile
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ noblacklist ${HOME}/.config/discordcanary
|
|||
mkdir ${HOME}/.config/discordcanary
|
||||
whitelist ${HOME}/.config/discordcanary
|
||||
|
||||
private-bin discord-canary,electron,electron[0-9],electron[0-9][0-9]
|
||||
private-opt discord-canary
|
||||
private-bin discord-canary,DiscordCanary
|
||||
private-opt discord-canary,DiscordCanary
|
||||
|
||||
# Redirect
|
||||
include discord-common.profile
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ ignore novideo
|
|||
whitelist ${HOME}/.config/BetterDiscord
|
||||
whitelist ${HOME}/.local/share/betterdiscordctl
|
||||
|
||||
private-bin bash,cut,echo,egrep,electron,electron[0-9],electron[0-9][0-9],fish,grep,head,sed,sh,tclsh,tr,xdg-mime,xdg-open,zsh
|
||||
private-bin awk,bash,cut,echo,egrep,electron,electron[0-9],electron[0-9][0-9],fish,grep,head,sed,sh,tclsh,tr,which,xdg-mime,xdg-open,zsh
|
||||
private-etc alternatives,ca-certificates,crypto-policies,fonts,group,ld.so.cache,ld.so.preload,localtime,login.defs,machine-id,password,pki,pulse,resolv.conf,ssl
|
||||
|
||||
join-or-start discord
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ noblacklist ${HOME}/.config/discord
|
|||
mkdir ${HOME}/.config/discord
|
||||
whitelist ${HOME}/.config/discord
|
||||
|
||||
private-bin discord
|
||||
private-opt discord
|
||||
private-bin discord,Discord
|
||||
private-opt discord,Discord
|
||||
|
||||
# Redirect
|
||||
include discord-common.profile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue