From 5d2cd44796a155377fddb498563ed96c8f682138 Mon Sep 17 00:00:00 2001 From: Ivory Date: Thu, 1 May 2025 19:24:11 -0400 Subject: [PATCH] fix bug where zip file is append not overwrite --- ...okshelf_frames.png => not_book_thing_at_all.png} | Bin compile.sh | 9 ++++++++- 2 files changed, 8 insertions(+), 1 deletion(-) rename assets/minecraft/textures/block/{bookshelf_frames.png => not_book_thing_at_all.png} (100%) diff --git a/assets/minecraft/textures/block/bookshelf_frames.png b/assets/minecraft/textures/block/not_book_thing_at_all.png similarity index 100% rename from assets/minecraft/textures/block/bookshelf_frames.png rename to assets/minecraft/textures/block/not_book_thing_at_all.png diff --git a/compile.sh b/compile.sh index 21925758..e2e79931 100755 --- a/compile.sh +++ b/compile.sh @@ -1,4 +1,11 @@ -zip -r PloofPack.zip \ +FILE="PloofPack.zip" + +if [ -f "$FILE" ]; then + rm "$FILE" +fi + + +zip -r "$FILE" \ assets/ \ pack.mcmeta \ pack.png \