# This file is overwritten after every install/update
# Persistent local customizations
include crusader-kings-iii.local
# Persistent global definitions
include globals.local

ignore include disable-shell.inc

noblacklist ${HOME}/games/Crusader Kings III
noblacklist ${HOME}/.local/share/Paradox Interactive
noblacklist ${HOME}/.local/share/Paradox Interactive/Crusader Kings III

whitelist ${HOME}/games/Crusader Kings III
read-only ${HOME}/games/Crusader Kings III
mkdir ${HOME}/.local/share/Paradox Interactive
mkdir ${HOME}/.local/share/Paradox Interactive/Crusader Kings III
whitelist ${HOME}/.local/share/Paradox Interactive
read-only ${HOME}/.local/share/Paradox Interactive
whitelist ${HOME}/.local/share/Paradox Interactive/Crusader Kings III
read-write ${HOME}/.local/share/Paradox Interactive/Crusader Kings III

# CK3 requires ptrace to function
seccomp !ptrace

private-etc asound.conf,group,localtime,machine-id,passwd,pulse

ignore memory-deny-write-execute

ignore noexec ${HOME}

include generic-game.inc