# This file is overwritten after every install/update
# Persistent local customizations
include divinity-original-sin-ee.local
# Persistent global definitions
include globals.local

ignore include disable-shell.inc

noblacklist ${HOME}/Larian Studios
noblacklist ${HOME}/Larian Studios/Divinity Original Sin Enhanced Edition

mkdir ${HOME}/Larian Studios
mkdir ${HOME}/Larian Studios/Divinity Original Sin Enhanced Edition
whitelist ${HOME}/Larian Studios/Divinity Original Sin Enhanced Edition
whitelist ${HOME}/games/Divinity - Original Sin
# # The game fails to load the correct language if marked as read-only
#read-only ${HOME}/games/Divinity - Original Sin - Extended Edition

seccomp !name_to_handle_at

ignore memory-deny-write-execute

ignore noexec ${HOME}

include generic-game-networked.inc