Improved documentation function.
This commit is contained in:
parent
ff5ad4f7c9
commit
731f1a6ad5
@ -342,7 +342,7 @@ echo "Loading documentation, please wait..."
|
||||
done
|
||||
fi
|
||||
if [[ -z "$gameDoc" ]]; then
|
||||
gameDoc="$(find "$gamePath" -type f -iname 'BG*Help.htm' -or -iname 'BG*Help.html' | head -1)"
|
||||
gameDoc="$(find "$gamePath" -type f -iname '[A-Z]*Help.htm' -or -iname '[A-Z]*Help.html' | head -1)"
|
||||
fi
|
||||
if [[ -z "$gameDoc" ]]; then
|
||||
gameDoc="$(find "$gamePath" -type f -iname 'manual.html' -or -iname 'manual.htm' | head -1)"
|
||||
|
Loading…
Reference in New Issue
Block a user