Pin server files to a specific release (#125)

This commit is contained in:
htmlcsjs
2025-07-30 20:28:45 +01:00
committed by GitHub
parent 399f26a8b4
commit 1bf83abc1d
4 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/bash
FORGE_VERSION="1.20.1-47.3.6"
PACK_TAG="v1.14.0-server"
# Ensure java is installed
if ! command -v java >/dev/null 2>&1; then
@@ -40,6 +41,6 @@ if [ ! -f packwiz-installer-bootstrap.jar ]; then
download "https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"
fi
java -jar packwiz-installer-bootstrap.jar -g -s server https://raw.githubusercontent.com/GregTechCEu/GregTech-Modern-Community-Pack/main/pack.toml
java -jar packwiz-installer-bootstrap.jar -g -s server https://raw.githubusercontent.com/GregTechCEu/GregTech-Modern-Community-Pack/refs/tags/$PACK_TAG/pack.toml
java @user_jvm_args.txt @libraries/net/minecraftforge/forge/$FORGE_VERSION/unix_args.txt nogui