diff --git a/game-scripts/crazy-party-update.sh b/game-scripts/crazy-party-update.sh index bd5172a..95a4363 100755 --- a/game-scripts/crazy-party-update.sh +++ b/game-scripts/crazy-party-update.sh @@ -45,7 +45,7 @@ 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 -od "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta75.zip" -rm -fv "$HOME/.local/wine/drive_c/Program Files/Crazy-Party-beta75/nvdaControllerClient32.dll" +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/" rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1