From e568f545710dc898e6a8fb2ff3035aea1ee19c69 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Wed, 12 May 2021 01:43:30 -0700 Subject: [PATCH] Make sure wine has exitted before adding default.sfx --- speech/install_cepstral.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/speech/install_cepstral.sh b/speech/install_cepstral.sh index f4b2219..1fdbe30 100755 --- a/speech/install_cepstral.sh +++ b/speech/install_cepstral.sh @@ -112,6 +112,7 @@ cmd="${cmd} ~/Downloads/Cepstral_${voice}_windows_${version}.${msiexe}" # Install the voice (eval "$cmd" & [ "$msiexe" = "exe" ] && xdotool sleep 20 key --delay 75 alt+n key --delay 75 alt+a key --delay 75 alt+n key --delay 75 alt+o key --delay 75 alt+i sleep 20 key --delay 75 alt+f +wineserver -w find "${WINEPREFIX}/drive_c/Program Files/Cepstral/voices" -type d -not -name voices -exec bash -c 'for d ; do echo "GAIN 2.5" > "$d/default.sfx";done' _ {} \;) | dialog --progressbox "installing voice..." -1 -1 exit 0