Documentation now finds manuals for newly added games.
This commit is contained in:
parent
ae7b593bc5
commit
83ab96603a
@ -403,6 +403,9 @@ echo "Loading documentation, please wait..."
|
|||||||
gameDoc="$(find "$gamePath" -type f -iname "$i" -or -iname 'manual.htm' | head -1)"
|
gameDoc="$(find "$gamePath" -type f -iname "$i" -or -iname 'manual.htm' | head -1)"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
if [[ -z "$gameDoc" ]]; then
|
||||||
|
gameDoc="$(find "$gamePath" -type f -path '*/Manual/index.html' | head -1)"
|
||||||
|
fi
|
||||||
if [[ -z "$gameDoc" ]]; then
|
if [[ -z "$gameDoc" ]]; then
|
||||||
gameDoc="$(find "$gamePath" -type f -iname '[A-Z]*Help.htm' -or -iname '[A-Z]*Help.html' | head -1)"
|
gameDoc="$(find "$gamePath" -type f -iname '[A-Z]*Help.htm' -or -iname '[A-Z]*Help.html' | head -1)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user