diff --git a/game-scripts/revenge-of-the-undead-update.sh b/game-scripts/revenge-of-the-undead-update.sh index fcec8ee..faa88f9 100755 --- a/game-scripts/revenge-of-the-undead-update.sh +++ b/game-scripts/revenge-of-the-undead-update.sh @@ -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