Updated Toby Doom installer and launcher.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
tobyVersion="7-5"
|
||||
tobyVersion="8-0"
|
||||
mkdir -p "${installPath}/doom"
|
||||
doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null)"
|
||||
if [[ ${#doomPath} -lt 5 ]]; then
|
||||
@ -44,9 +44,9 @@ unzip -n -d "${installPath}/doom" "${cache}/TobyAccessibilityMod_V${tobyVersion}
|
||||
unzip -n -d "${installPath}/doom" "${cache}/OpMDK_ForV${tobyVersion}.zip"
|
||||
cp -v "${cache}/keyshare-universal.pk3" "${installPath}/doom"
|
||||
rm -fv "${installPath}/doom/"*.{ahk,bat,exe,dll,ps1}
|
||||
if [[ -e /usr/share/doom/blasphem.wad ]]; then
|
||||
ln -s /usr/share/doom/blasphem.wad "${installPath}/doom/"
|
||||
fi
|
||||
#if [[ -e /usr/share/doom/blasphem.wad ]]; then
|
||||
#ln -s /usr/share/doom/blasphem.wad "${installPath}/doom/"
|
||||
#fi
|
||||
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom"
|
||||
cp "${installPath}/doom/TobyConfig.ini" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
|
||||
cp "${installPath}/doom/zcajun/bots.cfg" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/"
|
||||
|
Reference in New Issue
Block a user