audiogame-manager/game-scripts/revenge-of-the-undead-update.sh
2020-12-14 18:47:07 -05:00

11 lines
477 B
Bash
Executable File

#!/usr/bin/env bash
cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache"
url="https://tunmi13.dev/projects/rotu.zip"
(rm -v "${cache}/rotu.zip"
wget -O "${cache}/rotu.zip" "$url" || exit 1
unzip -od "$HOME/.local/wine/revenge-of-the-undead/drive_c/Program Files" "${cache}/rotu.zip"
rm -fv "$HOME/.local/wine/drive_c/Program Files/rotu/nvdaControllerClient32.dll") | dialog --progressbox "updating Revenge of the undead, please wait..." -1 -1
exit 0