Executioner's Rage has an autoupdate system that overwrites the NVDA dll, so attempt to move the override into place when the game is launched.

This commit is contained in:
Storm Dragon 2024-03-21 03:04:00 -04:00
parent 0aaad485ae
commit 4fa928e07f

View File

@ -893,6 +893,9 @@ game_launcher() {
popd
exit 0
fi
if [[ "$game" =~ executioner\'s ]]; then
find "${WINEPREFIX}/drive_c/Program Files" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \;
fi
if [[ "$game" =~ haunted-party ]]; then
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
fi