FEX >= 2611: unified launcher /usr/bin/FEX replaces FEXInterpreter

This commit is contained in:
Hermes committed 2026-11-09 18:34:13 +00:00
1 parent fc2454d208
commit 4ade96312b
2 files changed
+22 -17

No files matched your search

+2 -1
View File
@@ -579,9 +579,10 @@ fi
echo "Starting Bedrock server..."
if [[ -f /usr/local/bin/box64 ]] && isTrue "${USE_BOX64:=false}" ; then
exec mc-server-runner "${mcServerRunnerArgs[@]}" box64 ./"$SERVER"
elif [[ -x /usr/bin/FEXInterpreter ]] && isTrue "${USE_FEX:=true}" ; then
elif [[ -x /usr/bin/FEX ]] && isTrue "${USE_FEX:=true}" ; then
# FEX-Emu (x86_64 on arm64): RootFS and emulator are baked into the image.
# FEX_EMU_DIR holds the JIT/AOT caches — keep it on a volume for warm starts.
# FEX >= 2611: unified launcher is /usr/bin/FEX (FEXInterpreter was removed).
export FEX_ROOTFS="${FEX_ROOTFS:-/opt/fex-emu-rootfs/rootfs}"
export FEX_EMU_DIR="${FEX_EMU_DIR:-$HOME/.fex-emu}"
mkdir -p "$FEX_EMU_DIR"