audiogame-manager/.install/The Great Toy Robbery.sh

8 lines
507 B
Bash

export bottle="l-works"
export winVer="win7"
download "http://files.l-works.net/tgtrsetup_2.04.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll"
install_wine_bottle dsound directmusic
wine "${cache}/tgtrsetup_2.04.exe" /silent
find "${WINEPREFIX}/drive_c/Program Files/Lworks/The Great Toy Robbery" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \;
add_launcher "c:\Program Files\Lworks\The Great Toy Robbery\tgtr.exe"