diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2024-02-25 19:54:50 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2024-02-25 19:54:50 -0800 |
commit | 97f037572240829992563d6de1eaddb06481d8e8 (patch) | |
tree | 40a65bf7524c9bf025b0fa22e46516967ebd93e9 /profiles | |
parent | Add profile for balrum (diff) | |
download | firejail-profiles-97f037572240829992563d6de1eaddb06481d8e8.tar.xz |
Add exiled kingdoms and clean up generic java.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/exiled-kingdoms.profile | 26 | ||||
-rw-r--r-- | profiles/generic-java-game.inc | 13 | ||||
-rw-r--r-- | profiles/slay-the-spire.profile | 11 | ||||
-rw-r--r-- | profiles/starsector.profile | 9 |
4 files changed, 48 insertions, 11 deletions
diff --git a/profiles/exiled-kingdoms.profile b/profiles/exiled-kingdoms.profile new file mode 100644 index 0000000..a80cf88 --- /dev/null +++ b/profiles/exiled-kingdoms.profile @@ -0,0 +1,26 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include exiled-kingdoms.local +# Persistent global definitions +include globals.local + +# # Java games require read-write access to the ? folder to store data +# # This folder will need to be created manually by the user before first run + +# # mkdir refuses to create it citing invalid characters +# Left here in case that one day changes +#mkdir ${HOME}/games/Exiled Kingdoms/game/? + + +mkdir ${HOME}/games/Exiled Kingdoms/game/data +mkfile ${HOME}/games/Exiled Kingdoms/game/init.ini +mkfile ${HOME}/games/Exiled Kingdoms/game/init_log.txt + +whitelist-ro ${HOME}/games/Exiled Kingdoms + +read-write ${HOME}/games/Exiled Kingdoms/game/? +read-write ${HOME}/games/Exiled Kingdoms/game/data +read-write ${HOME}/games/Exiled Kingdoms/game/init.ini +read-write ${HOME}/games/Exiled Kingdoms/game/init_log.txt + +include generic-java-game.inc diff --git a/profiles/generic-java-game.inc b/profiles/generic-java-game.inc index 0b7d281..b7d2647 100644 --- a/profiles/generic-java-game.inc +++ b/profiles/generic-java-game.inc @@ -6,15 +6,14 @@ include generic-java-game.local # See slay-the-spire.profile # See starsector.profile -# # Java games require the ? folder to store data -# # But mkdir refuses to create it citing invalid characters -# # This folder will need to be created manually before first run + +# # Java games require read-write access to the ? folder to store data +# # This folder will need to be created manually by the user before first run + +# # mkdir refuses to create it citing invalid characters +# Left here in case that one day changes #mkdir ${HOME}/games/Starsector/? -# The ? folder needs to be writable -#whitelist ${HOME}/games/Starsector -#read-only ${HOME}/games/Starsector -#read-write ${HOME}/games/Starsector/? ignore memory-deny-write-execute diff --git a/profiles/slay-the-spire.profile b/profiles/slay-the-spire.profile index 69814ed..b8a3629 100644 --- a/profiles/slay-the-spire.profile +++ b/profiles/slay-the-spire.profile @@ -4,15 +4,22 @@ include slay-the-spire.local # Persistent global definitions include globals.local -# # Slay The Spire needs the ? folder to store data -# # But mkdir refuses to create it citing invalid characters +# # Java games require read-write access to the ? folder to store data +# # This folder will need to be created manually by the user before first run + +# # mkdir refuses to create it citing invalid characters +# Left here in case that one day changes #mkdir ${HOME}/games/Slay The Spire/game/? + + mkdir ${HOME}/games/Slay The Spire/game/betaPreferences mkfile ${HOME}/games/Slay The Spire/game/info.displayconfig mkdir ${HOME}/games/Slay The Spire/game/runs mkdir ${HOME}/games/Slay The Spire/game/saves mkdir ${HOME}/games/Slay The Spire/game/sendToDevs + whitelist-ro ${HOME}/games/Slay The Spire + read-write ${HOME}/games/Slay The Spire/game/info.displayconfig read-write ${HOME}/games/Slay The Spire/game/? read-write ${HOME}/games/Slay The Spire/game/runs diff --git a/profiles/starsector.profile b/profiles/starsector.profile index ec147d4..b1e627c 100644 --- a/profiles/starsector.profile +++ b/profiles/starsector.profile @@ -8,9 +8,14 @@ include globals.local ignore blacklist ${PATH}/bash ignore blacklist ${PATH}/sh -# # Starsector needs the ? folder to store data -# # But mkdir refuses to create it citing invalid characters +# # Java games require read-write access to the ? folder to store data +# # This folder will need to be created manually by the user before first run + +# # mkdir refuses to create it citing invalid characters +# Left here in case that one day changes #mkdir ${HOME}/games/Starsector/? + + whitelist-ro ${HOME}/games/Starsector read-write ${HOME}/games/Starsector/? read-write ${HOME}/games/Starsector/saves |