diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a6f2b65..bf63d61 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -467,6 +467,11 @@ install_wine_bottle() { download "https://nashcentral.duckdns.org/projects/wine.tar.gz" { tar xf "${cache}/wine.tar.gz" -C "${HOME}/.local/wine/" mv "${HOME}/.local/wine/.wine/drive_c/users/user" "${HOME}/.local/wine/.wine/drive_c/users/${USER}" + if [[ "$(uname)" == "Darwin" ]]; then + gsed -i 's/"DefaultTTSRate"=dword:00000000/"DefaultTTSRate"=dword:00000005/' "${HOME}/.local/wine/.wine/user.reg" + else + sed -i 's/"DefaultTTSRate"=dword:00000000/"DefaultTTSRate"=dword:00000005/' "${HOME}/.local/wine/.wine/user.reg" + fi mv "${HOME}/.local/wine/.wine/" "${WINEPREFIX}/" wine64 cmd /c exit wine msiexec /i z:"$monoPath" /quiet