Replace nvdaControllerClient at the launch of Sketchbook so that updates won't break it. Immediately after updating, relaunch the game to restore speech.

This commit is contained in:
stormdragon2976 2023-01-27 12:27:17 -05:00
parent eaafc19768
commit 5a9f715891

View File

@ -826,6 +826,9 @@ game_launcher() {
"${0%/*}/speech/clipboard_translator.sh" play_sr.exe shadow-line &
export version="7.7"
fi
if [[ "$game" =~ sketchbook ]]; then
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
fi
if [[ "$game" =~ swamp ]]; then
export version="7.7"
fi