diff options
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/generic-java-game.inc | 23 | ||||
-rw-r--r-- | profiles/slay-the-spire.profile | 22 | ||||
-rw-r--r-- | profiles/starsector.profile | 20 |
3 files changed, 52 insertions, 13 deletions
diff --git a/profiles/generic-java-game.inc b/profiles/generic-java-game.inc new file mode 100644 index 0000000..b92ef76 --- /dev/null +++ b/profiles/generic-java-game.inc @@ -0,0 +1,23 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include generic-java-game.local + +# # # Examples for creating profiles +# 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 +#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 + +ignore noexec ${HOME} + +include generic-game.inc diff --git a/profiles/slay-the-spire.profile b/profiles/slay-the-spire.profile index 1ab5def..616e6ea 100644 --- a/profiles/slay-the-spire.profile +++ b/profiles/slay-the-spire.profile @@ -4,23 +4,19 @@ 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 #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 ${HOME}/games/Slay The Spire -#read-only ${HOME}/games/Slay The Spire -#whitelist ${HOME}/games/Slay The Spire/game/? -#read-write ${HOME}/games/Slay The Spire/game/? -#whitelist ${HOME}/games/Slay The Spire/game/betaPreferences -#read-write ${HOME}/games/Slay The Spire/game/betaPreferences -#whitelist ${HOME}/games/Slay The Spire/game/sendToDevs -#read-write ${HOME}/games/Slay The Spire/game/sendToDevs -read-only ${HOME}/games/Slay The Spire/game/sendToDevs +read-only ${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 +read-write ${HOME}/games/Slay The Spire/game/saves -ignore memory-deny-write-execute - -ignore noexec ${HOME} - -include generic-game.inc +include generic-java-game.inc diff --git a/profiles/starsector.profile b/profiles/starsector.profile new file mode 100644 index 0000000..0e0be4b --- /dev/null +++ b/profiles/starsector.profile @@ -0,0 +1,20 @@ +# This file is overwritten after every install/update +# Persistent local customizations +include starsector.local +# Persistent global definitions +include globals.local + +# Starsector requires both bash and sh +ignore blacklist ${PATH}/bash +ignore blacklist ${PATH}/sh + +# # Starsector needs the ? folder to store data +# # But mkdir refuses to create it citing invalid characters +#mkdir ${HOME}/games/Starsector/? +whitelist ${HOME}/games/Starsector +read-only ${HOME}/games/Starsector +read-write ${HOME}/games/Starsector/? +read-write ${HOME}/games/Starsector/saves +read-write ${HOME}/games/Starsector/screenshots + +include generic-java-game.inc |