Improved revenge of the undead update script.

This commit is contained in:
Storm Dragon 2020-12-14 18:47:07 -05:00
parent 3cd87add93
commit 44ae2926fd

View File

@ -2,8 +2,9 @@
cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache"
url="https://tunmi13.dev/projects/rotu.zip"
wget -o "${cache}/rotu.zip" "$url" || exit 1
unzip -od "$HOME/.local/wine/drive_c/Program Files" "${cache}/rotu.zip"
rm -fv "$HOME/.local/wine/drive_c/Program Files/rotu/nvdaControllerClient32.dll"
(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