Moved the removal of nvdaControllerClient to the launcher of the game because sometimes it gets readded.

This commit is contained in:
Storm Dragon 2022-10-05 17:26:35 -04:00
parent bb0194c023
commit 59d3742733

View File

@ -779,6 +779,7 @@ game_launcher() {
"${0%/*}/speech/clipboard_translator.sh" play.exe &
fi
if [[ "$game" =~ shadow-line ]]; then
find "${WINEPREFIX}/drive_c/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \;
"${0%/*}/speech/clipboard_translator.sh" play_sr.exe &
fi
if [[ "$game" =~ bokurano-daibouken-3 ]]; then
@ -2446,7 +2447,6 @@ EOF
xdotool key --clearmodifiers --delay=500 space
xdotool key --clearmodifiers --delay=500 alt+f
wineserver -w
find "${WINEPREFIX}/drive_c/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \;
add_launcher "c:\Program Files\GalaxyLaboratory\ShadowRine_FullVoice\play_sr.exe"
;;
"Silver Dollar")