Added dependency checking for Project Brutality because some people reinstall without clearing the cache and get the older version of the zip file.

This commit is contained in:
Storm Dragon 2024-09-01 15:02:54 -04:00
parent efb957cb09
commit 0f65d8efb9
2 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,13 @@
#!/usr/bin/env bash
# check for required pk3.
source ${0%/*}/TobyCustom/.dependencies
check_dependencies "${gamePath}/Project_Brutality.pk3" \
"https://www.moddb.com/mods/project-brutality" \
"This should be included by default." \
'If you are seeing this message, please reinstall after removing any TobyDoom files from ~/.cache/linux-game-manager.' \
'rm -f ~/.cache/linux-game-manager/TobyAccessibilityMod_Version*'
# Set up the pk3 and wad files
gameOption=(
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"

View File

@ -1,5 +1,13 @@
#!/usr/bin/env bash
# check for required pk3.
source ${0%/*}/TobyCustom/.dependencies
check_dependencies "${gamePath}/Project_Brutality-Latest.pk3" \
"https://www.moddb.com/mods/project-brutality" \
"This should be included by default." \
'If you are seeing this message, please reinstall after removing any TobyDoom files from ~/.cache/linux-game-manager.' \
'rm -f ~/.cache/linux-game-manager/TobyAccessibilityMod_Version*'
# Set up the pk3 and wad files
gameOption=(
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"