From f38cc92d4ff5f4c42af1ec131399eaa1e5816b16 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 21 Aug 2022 01:39:12 -0400 Subject: [PATCH] No longer install RHVoice by default on 64 bit installations, only if speechsdk is requested. --- audiogame-manager.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 80e8242..976496a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -562,10 +562,12 @@ install_wine_bottle() { { DISPLAY="" wineboot -u wine msiexec /i z:"$monoPath" /quiet wine msiexec /i z:"$geckoPath" /quiet - if [[ "${*}" =~ speechsdk ]] || [[ "${WINEARCH}" == "win64" ]]; then - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd" + if [[ "${*}" =~ speechsdk ]]; then install_rhvoice fi + if [[ "${WINEARCH}" == "win64" ]]; then + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd" + fi if [[ "${WINEARCH}" == "win64" ]] && [[ ! -f "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" ]]; then cp "${cache}/nvda2speechd" "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" chmod +x "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd"