| 1 |
# Firejail profile for github-desktop |
| 2 |
# Description: Extend your GitHub workflow beyond your browser with GitHub Desktop |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include github-desktop.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
# Note: On debian-based distributions the binary might be located in |
| 10 |
# /opt/GitHub Desktop/github-desktop, and therefore not be in PATH. |
| 11 |
# If that's the case you can start GitHub Desktop with firejail via |
| 12 |
# `firejail "/opt/GitHub Desktop/github-desktop"`. |
| 13 |
|
| 14 |
# Disabled until someone reported positive feedback |
| 15 |
ignore include disable-xdg.inc |
| 16 |
ignore whitelist ${DOWNLOADS} |
| 17 |
ignore whitelist ${HOME}/.config/Electron |
| 18 |
ignore whitelist ${HOME}/.config/electron*-flag*.conf |
| 19 |
ignore include whitelist-common.inc |
| 20 |
ignore include whitelist-runuser-common.inc |
| 21 |
ignore include whitelist-usr-share-common.inc |
| 22 |
ignore include whitelist-var-common.inc |
| 23 |
ignore apparmor |
| 24 |
ignore dbus-user none |
| 25 |
ignore dbus-system none |
| 26 |
|
| 27 |
noblacklist ${HOME}/.config/GitHub Desktop |
| 28 |
noblacklist ${HOME}/.config/git |
| 29 |
noblacklist ${HOME}/.gitconfig |
| 30 |
noblacklist ${HOME}/.git-credentials |
| 31 |
|
| 32 |
#no3d |
| 33 |
nosound |
| 34 |
|
| 35 |
#private-bin github-desktop |
| 36 |
?HAS_APPIMAGE: ignore private-dev |
| 37 |
#private-lib |
| 38 |
|
| 39 |
#memory-deny-write-execute |
| 40 |
|
| 41 |
# Redirect |
| 42 |
include electron-common.profile |