summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
-rw-r--r--profiles/barotrauma.profile23
-rw-r--r--profiles/timberborn.profile20
3 files changed, 45 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9263f52..f2b7aba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
pkgname=firejail-profiles
-pkgver=20210826
+pkgver=20210920
pkgrel=1
pkgdesc="Additional firejail profiles and locals"
arch=('any')
@@ -9,7 +9,7 @@ url="https://library.iserlohn-fortress.net/firejail-profiles.git"
license=('GPLv3')
depends=('firejail' 'hardened-malloc')
source=(profiles.tar.gz)
-b2sums=('a0dd506104b5a76505b749c623cc98a0b60af65407ac6a1d4e2f2f88590ba1724076a0a6b83f5293ac27c5cdebb27fabdb930244f34eb0a7819ac28b9f79fb87')
+b2sums=('3a846a427ea5c695ca532d6b809919aab26d56b064ebd55b7ab254ce34a01b2caae9e8587f1576dde0b767a0ab3e54cc0e12cfa6fb57e5dd61a9dec9d0df341a')
package() {
install --directory ${pkgdir}/etc/firejail
diff --git a/profiles/barotrauma.profile b/profiles/barotrauma.profile
new file mode 100644
index 0000000..641bc8a
--- /dev/null
+++ b/profiles/barotrauma.profile
@@ -0,0 +1,23 @@
+# This file is overwritten after every install/update
+# Persistent local customizations
+include barotrauma.local
+# Persistent global definitions
+include globals.local
+
+noblacklist ${HOME}.local/share/Daedalic Entertainment GmbH
+noblacklist ${HOME}.local/share/Daedalic Entertainment GmbH/Barotrauma
+
+mkdir ${HOME}.local/share/Daedalic Entertainment GmbH
+mkdir ${HOME}.local/share/Daedalic Entertainment GmbH/Barotrauma
+
+whitelist ${HOME}.local/share/Daedalic Entertainment GmbH/Barotrauma
+whitelist ${HOME}/games/Barotrauma
+
+# game assets fail to load if read-only
+#read-only ${HOME}/games/Barotrauma
+
+ignore memory-deny-write-execute
+
+ignore noexec ${HOME}
+
+include generic-game-networked.inc
diff --git a/profiles/timberborn.profile b/profiles/timberborn.profile
new file mode 100644
index 0000000..a3267bc
--- /dev/null
+++ b/profiles/timberborn.profile
@@ -0,0 +1,20 @@
+# This file is overwritten after every install/update
+# Persistent local customizations
+include timberborn.local
+# Persistent global definitions
+include globals.local
+
+noblacklist ${HOME}/.config/unity3d
+noblacklist ${HOME}/.config/unity3d/Mechanistry
+noblacklist ${HOME}/.config/unity3d/Mechanistry/Timberborn
+
+mkdir ${HOME}/.config/unity3d
+mkdir ${HOME}/.config/unity3d/Mechanistry
+mkdir ${HOME}/.config/unity3d/Mechanistry/Timberborn
+
+whitelist ${HOME}/.config/unity3d/Mechanistry/Timberborn
+whitelist ${HOME}/games/Timberborn
+
+read-only ${HOME}/games/Timberborn
+
+include generic-unity-game.inc