Improve Script
minecraft-pi-docker/pipeline/head There was a failure building this commit Details

This commit is contained in:
TheBrokenRail 2020-11-22 17:30:06 -05:00
parent 2a01a429ef
commit accf6aebc6
2 changed files with 18 additions and 20 deletions

View File

@ -3,7 +3,6 @@
set -e
# Ensure Features Are Selected
if [ -z "${MCPI_SUBSHELL}" ]; then
MCPI_FEATURES="$(zenity --class 'Minecraft - Pi edition' --list --checklist --column 'Enabled' --column 'Feature' \
TRUE 'Touch GUI' \
FALSE 'Survival Mode' \
@ -21,7 +20,6 @@ if [ -z "${MCPI_SUBSHELL}" ]; then
TRUE 'Smooth Lighting' \
FALSE '3D Anaglyph')"
MCPI_USERNAME="$(zenity --class 'Minecraft - Pi edition' --entry --text 'Minecraft Username:' --entry-text 'StevePi')"
fi
export MCPI_FEATURES
export MCPI_USERNAME

View File

@ -3,7 +3,7 @@
set -e
# Start VirGL
virgl_test_server &
virgl_test_server & &> /tmp/virgl.log
VIRGL_PID="$!"
# Launch Minecraft