From 43a1010f55b0e4563e576d25fe7768afa8443706 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 18 Aug 2021 20:14:47 -0400 Subject: [PATCH] Updated crazy party update script. --- game-scripts/crazy-party-update.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/game-scripts/crazy-party-update.sh b/game-scripts/crazy-party-update.sh index 91cffa3..d0fde8c 100755 --- a/game-scripts/crazy-party-update.sh +++ b/game-scripts/crazy-party-update.sh @@ -41,14 +41,14 @@ cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" -url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta75.zip" -(rm -v "${cache}/Crazy-Party-beta73.zip" -wget -O "${cache}/Crazy-Party-beta75.zip" "$url" || { echo "Could not download file."; exit 1; } -unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta75.zip" -rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/nvdaControllerClient32.dll" -sed -i 's/Crazy-Party-beta73/Crazy-Party-beta75/' "$configFile" -mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/" -cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/" 2> /dev/null -rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 +url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip" +(rm -v "${cache}/Crazy-Party-beta75.zip" +wget -O "${cache}/Crazy-Party-beta76.zip" "$url" || { echo "Could not download file."; exit 1; } +unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta76.zip" +rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/nvdaControllerClient32.dll" +sed -i 's/Crazy-Party-beta75/Crazy-Party-beta76/' "$configFile" +mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/" +cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/" 2> /dev/null +rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 exit 0