Documentation updated to detect Executioner's Rage help file.

This commit is contained in:
Storm Dragon 2024-02-28 00:40:30 -05:00
parent b34086fb38
commit 16a635c379

View File

@ -519,7 +519,7 @@ echo "Loading documentation, please wait..."
gameDoc="$(find "$gamePath" -type f -iname 'manual.txt' | head -1)"
fi
if [[ -z "$gameDoc" ]]; then
gameDoc="$(find "$gamePath" -type f -iname 'readme.txt' | head -1)"
gameDoc="$(find "$gamePath" -type f -iname 'readme.txt' -or -iname 'help.txt' | head -1)"
fi
if [[ -z "$gameDoc" ]]; then
gameDoc="$(find "$gamePath" -type f -iname '*.url' -exec grep -i 'url=' {} \; | grep -iv 'score' | head -1)"