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"