Added optional gamemode support.

This commit is contained in:
Storm Dragon committed 2026-08-25 15:44:07 -04:00
1 parent db508a46cd
commit b3ac639b45
24 files changed
+32 -24

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
# shellcheck shell=bash disable=SC2154 # Variables are set by linux-game-manager.sh
tobyVersion="9.0"
mkdir -p "${installPath}/doom"
doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null)"
@@ -19,7 +20,7 @@ fi
doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)"
# The url breaks the normal download function
download_named "keyshare-universal.pk3" "https://forum.zdoom.org/download/file.php?id=42262"
download "${ipfsGateway}/ipfs/QmU6REFot8CGVSBy2YWQxnmXoh7M4EF74RxFtLzvtJxoGC?filename=toby_doom_${tobyVersion}_full.zip"
download "${ipfs[FreeDoom]}"
unzip -n -d "${installPath}/doom" "${cache}/toby_doom_${tobyVersion}_full.zip"
# Move contents from nested folder up one directory (including hidden files)
shopt -s dotglob