10 lines
499 B
Bash
10 lines
499 B
Bash
|
get_installer "bf.zip" "https://tunmi13.itch.io/battlefield-2d"
|
||
|
download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll"
|
||
|
export WINEARCH=win64
|
||
|
export winVer="win8"
|
||
|
export bottle=tunmi13-64bit
|
||
|
install_wine_bottle
|
||
|
unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/bf.zip"
|
||
|
find "${WINEPREFIX}/drive_c/Program Files/bf" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \;
|
||
|
add_launcher "c:\Program Files\bf\bf.exe"
|