Improve automation

This commit is contained in:
2026-03-11 23:40:01 -05:00
parent 0b2d2e5214
commit 130a99ea54
5 changed files with 24 additions and 9 deletions

11
build/server Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
dir="$(dirname "$(readlink -f "$0")")"
root="${dir}/../"
root="$(realpath "$root")"
mkdir -p "${root}/server"
cd "${root}/server" || exit
java -jar ../build/legacy/.minecraft/packwiz-installer-bootstrap.jar -g -s server ../dist/pack/pack.toml
rm packwiz-installer.jar
cd - || exit