Fixed up survive the wild. It is officially working!

This commit is contained in:
Michael Taboada 2023-05-26 06:31:43 -07:00
parent 866db35651
commit 953a029c94

View File

@ -891,7 +891,9 @@ game_launcher() {
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
fi
if [[ "$game" =~ survive-the-wild ]]; then
"${0%/*}/speech/clipboard_reader.sh" stw &
cd "$(winepath -u "$winePath")"
wine "$winePath\\$wineExec" 2>/dev/null | spd-say -e --
exit 0
fi
if [[ "$game" =~ audiodisc ]]; then
wine "$winePath\\$wineExec"