From 895541f802262f19675ae5226be7f83804716b82 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 11 Oct 2022 13:11:40 -0400 Subject: [PATCH] Hopefully prevent bk3 from starting without the nvda2speech dll after importing dictionary files. --- audiogame-manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d0ff34f..b1300a1 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -788,6 +788,9 @@ game_launcher() { cp "${cache}/bk3-dict.dat" "${dictPath}/dict.dat" fi if [[ -d "${dictPath}/dict" ]]; then + if [[ ! -e "${dictPath}/data/nvdaControllerClient.dll" ]]; then + cp "${cache}/nvda2speechd32.dll" "${dictPath}/data/nvdaControllerClient.dll" + fi pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi if [[ ! -d "${dictPath}/dict" ]]; then