From 7bc82a822f9f28f82332834099a9ebde19f0c03a Mon Sep 17 00:00:00 2001 From: Izzy Kauffman <121840901+izzy2fancy@users.noreply.github.com> Date: Sun, 17 Mar 2024 07:20:31 -0400 Subject: [PATCH] Update patcher.sh --- patcher.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/patcher.sh b/patcher.sh index 4299ebb..e38cbce 100755 --- a/patcher.sh +++ b/patcher.sh @@ -8,6 +8,7 @@ DATA_FOLDER="data" REPO_URL="https://raw.githubusercontent.com/izzy2fancy/AM2R-Autopatcher-Android/main/data" HQ_MUSIC_URL="https://raw.githubusercontent.com/izzy2fancy/AM2R-Autopatcher-Android/main/HDR_HQ_in-game_music" +cleanup_directories() { local directories=("assets" "AM2RWrapper" "$DATA_FOLDER" "HDR_HQ_in-game_music") for dir in "${directories[@]}"; do if [ -d "$dir" ]; then @@ -16,6 +17,8 @@ HQ_MUSIC_URL="https://raw.githubusercontent.com/izzy2fancy/AM2R-Autopatcher-Andr done } +# Rest of the script goes here + echo "-------------------------------------------" echo "" echo "AM2R 1.5.5 Shell Autopatching Utility"