diff --git a/.minecraft/pack.toml b/.minecraft/pack.toml index 0956114..2de614f 100644 --- a/.minecraft/pack.toml +++ b/.minecraft/pack.toml @@ -1,6 +1,6 @@ name = "Vanillia" author = "Merith.TK, Daedreus" -version = "1.19.3-1.3.1" +version = "1.4.0-1.19.4" pack-format = "packwiz:1.1.0" [index] diff --git a/Makefile b/Makefile index f55be11..94a31a1 100644 --- a/Makefile +++ b/Makefile @@ -49,13 +49,23 @@ technic: refresh 7z d .build/${PACKNAME}-technic.zip ./* ./.* -r 7z a .build/${PACKNAME}-technic.zip ./.technic/* -r +server: refresh + -mkdir .build + @echo "Making Server pack" + -rm -rf .server + -cp -r .minecraft .server + cp ${PACKNAME}_icon.png .technic/icon.png + cd .server && java -jar ../.minecraft/packwiz-installer-bootstrap.jar -s server ../.minecraft/pack.toml && cd .. + 7z d .build/${PACKNAME}-server.zip ./* ./.* -r + 7z a .build/${PACKNAME}-server.zip ./.server/* -r + preClean: refresh -rm -rf .build postClean: refresh -rm -rf .technic -git gc --aggressive --prune -all: preClean curseforge modrinth multimc technic postClean +all: preClean curseforge modrinth multimc technic server postClean refresh: cd .minecraft && packwiz refresh