From ca9228943bc8a826956e53cf863e6f80702e64b8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 22 Jan 2024 00:45:51 -0500 Subject: [PATCH] Copy bots.cfg file into proper place. --- linux-game-manager.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index a8a66ef..eba0535 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -686,6 +686,7 @@ case "${game}" in sudo rm -fv "${doomPath}/"*.lnk mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom" cp "${doomPath}/gzdoom.ini" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/" + cp "${doomPath}/zcajun/bots.cfg" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/" sed -i "s;^\[IWADSearch.Directories\]$;[IWADSearch.Directories]\nPath=${doomPath};" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini" sed -i "s;^\[FileSearch.Directories\]$;[FileSearch.Directories]\nPath=${doomPath};" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini" sed -i "s;^\[SoundfontSearch.Directories\]$;[SoundfontSearch.Directories]\nPath=${doomPath}/fm_banks\nPath=${doomPath}/soundfonts;" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"