minecraft-pi-docker/debian/usr/bin/minecraft-pi
2020-10-01 11:08:46 -04:00

18 lines
419 B
Bash
Executable File

#!/bin/sh
set -e
export FEATURES="$(zenity --class minecraft-pi --list --checklist --column 'Enabled' --column 'Feature' FALSE 'Touch GUI' FALSE 'Survival Mode' FALSE 'Fix Bow & Arrow' FALSE 'Fix Attacking' FALSE 'Mob Spawning')"
virgl_test_server &
PID="$!"
xhost local:root
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/docker-compose.yml"
${DOCKER_COMPOSE} up
${DOCKER_COMPOSE} down
kill "${PID}"