From 83ab96603a7066503c83a51c1e44d707254b9b4b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 9 Aug 2021 23:34:11 -0400 Subject: [PATCH] Documentation now finds manuals for newly added games. --- audiogame-manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index f429adc..e325a66 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -403,6 +403,9 @@ echo "Loading documentation, please wait..." gameDoc="$(find "$gamePath" -type f -iname "$i" -or -iname 'manual.htm' | head -1)" done fi + if [[ -z "$gameDoc" ]]; then + gameDoc="$(find "$gamePath" -type f -path '*/Manual/index.html' | head -1)" + fi if [[ -z "$gameDoc" ]]; then gameDoc="$(find "$gamePath" -type f -iname '[A-Z]*Help.htm' -or -iname '[A-Z]*Help.html' | head -1)" fi