fix bug where zip file is append not overwrite

stable
Ivory 2025-05-01 19:24:11 -04:00
parent 90f327aca7
commit 5d2cd44796
2 changed files with 8 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,4 +1,11 @@
zip -r PloofPack.zip \ FILE="PloofPack.zip"
if [ -f "$FILE" ]; then
rm "$FILE"
fi
zip -r "$FILE" \
assets/ \ assets/ \
pack.mcmeta \ pack.mcmeta \
pack.png \ pack.png \