9 lines
724 B
Bash
9 lines
724 B
Bash
|
export winVer="win7"
|
||
|
export norh="true" # Requires sapi even though uses nvda
|
||
|
download "${ipfsGateway}/ipfs/QmQnAJJrt5uABFziQc7enXYrJ74J9GKQSMi8Ry8ebsxfPV?filename=OhShit.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll"
|
||
|
install_wine_bottle speechsdk
|
||
|
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/OhShit.zip"
|
||
|
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \;
|
||
|
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \;
|
||
|
add_launcher "c:\Program Files\oh_shit\OhShit.exe"
|