Added reinstall warning for anyone updating from Crazy Party beta <= 78.

This commit is contained in:
Storm Dragon 2024-11-15 17:03:24 -05:00
parent 246af6a8ad
commit 6b73d2c7a8

View File

@ -44,6 +44,13 @@ oldVersion=$(find ~/.local/wine/crazy-party -type d -name 'Crazy-Party-beta*' |
cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager"
configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" 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 if [[ $oldVersion -eq $newVersion ]]; then
echo "Crazy Party is up to date." echo "Crazy Party is up to date."
exit 0 exit 0