audiogame-manager/.install/Executioner's Rage.sh

15 lines
726 B
Bash

download "https://dl.tweesecake.app/rage/rage1.5.0.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll"
export WINEARCH=win64
export winVer="win10"
install_wine_bottle
unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/rage1.5.0.zip"
find "${WINEPREFIX}/drive_c/Program Files" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \;
add_launcher "c:\Program Files\rage\rage.exe"
url="https://techcake.games/games/executioners-rage/"
echo "Before you can login, you need to create an account at:"
echo "$url"
if echo "$url" | xclip -selection clipboard 2> /dev/null ; then
message+="\n\nThe URL has been copied to the clipboard."
fi
alert