From bd2a7ac3e75bd09dd8daeaac8a2a6134e8686db2 Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 11 Oct 2020 21:07:21 -0500 Subject: [PATCH] updater script renames minecraft properly --- updater | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/updater b/updater index c8bc24a..99d84ad 100755 --- a/updater +++ b/updater @@ -133,7 +133,7 @@ echo -e "$LIST" | yad --center --title='Pi-Apps' --width=310 --height=300 --no-h --list --separator='\n' --window-icon="${DIRECTORY}/icons/logo.png" \ --text='Updates available:' \ --column=:IMG --column=Name \ - --button='Later'!"${DIRECTORY}/icons/exit.png"!"$Remind me later":1 \ + --button='Later'!"${DIRECTORY}/icons/exit.png"!"Remind me later":1 \ --button='Update now'!"${DIRECTORY}/icons/download.png":0 \ 2>/dev/null @@ -172,4 +172,9 @@ IFS="$PREIFS" gio trash "${DIRECTORY}/.git" 2>/dev/null cp -rf "${DIRECTORY}/update/pi-apps/.git" "${DIRECTORY}/.git" || error "Failed to copy new .git!" +#Minecraft was renamed to Minecraft Java +gio trash "${DIRECTORY}/apps/Minecraft" +mv "${DIRECTORY}/data/status/Minecraft" "${DIRECTORY}/data/status/Minecraft Java" + +