From 6b73d2c7a83a481cfb613bcdaebdccf5cce7aba8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 15 Nov 2024 17:03:24 -0500 Subject: [PATCH] Added reinstall warning for anyone updating from Crazy Party beta <= 78. --- game-scripts/crazy-party-update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/game-scripts/crazy-party-update.sh b/game-scripts/crazy-party-update.sh index 8092559..5b2cbee 100755 --- a/game-scripts/crazy-party-update.sh +++ b/game-scripts/crazy-party-update.sh @@ -44,6 +44,13 @@ oldVersion=$(find ~/.local/wine/crazy-party -type d -name 'Crazy-Party-beta*' | cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" +if [[ $oldVersion -le 78 ]]; then + echo "Crazy party has to be reinstalled because it is now a 64 bit application." + echo "Please run audiogame-manager -r to remove the old version." + echo "You can then install it again with audiogame-manager -i" + echo "Don't forget to make a backup of your save.bin file." + find "${WINEPREFIX}/drive_c/Program Files" -name 'save.bin' 2> /dev/null +fi if [[ $oldVersion -eq $newVersion ]]; then echo "Crazy Party is up to date." exit 0