Add reminder for backing up deck and game directories before reinstalling for upgrade from beta78 and earlier.

This commit is contained in:
Storm Dragon 2024-11-15 18:40:59 -05:00
parent 6a4ff7358f
commit 792a8d413f

View File

@ -48,8 +48,10 @@ if [[ $oldVersion -le 78 ]]; then
echo "Crazy party has to be reinstalled because it is now a 64 bit application." 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 "Please run audiogame-manager -r to remove the old version."
echo "You can then install it again with audiogame-manager -i" echo "You can then install it again with audiogame-manager -i"
echo "Don't forget to make a backup of your save.bin file." echo "Don't forget to make a backup of your save.bin file, custom card decks, and custom game lists."
find "${WINEPREFIX}/drive_c/Program Files" -name 'save.bin' 2> /dev/null find "${WINEPREFIX}/drive_c/Program Files" -type f -name 'save.bin' 2> /dev/null
find "${WINEPREFIX}/drive_c/Program Files" -type d -name 'deck' 2> /dev/null
find "${WINEPREFIX}/drive_c/Program Files" -type d -name 'game' 2> /dev/null
fi fi
if [[ $oldVersion -eq $newVersion ]]; then if [[ $oldVersion -eq $newVersion ]]; then
echo "Crazy Party is up to date." echo "Crazy Party is up to date."