Improve DEB
This commit is contained in:
parent
adb9d7b08e
commit
cc6f19c836
5
debian/client/usr/bin/minecraft-pi
vendored
5
debian/client/usr/bin/minecraft-pi
vendored
@ -28,7 +28,10 @@ xhost local:root
|
|||||||
# Launch Minecraft
|
# Launch Minecraft
|
||||||
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/client/docker-compose.yml"
|
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/client/docker-compose.yml"
|
||||||
(${DOCKER_COMPOSE} pull || :) | zenity --class 'Minecraft - Pi edition' --progress --pulsate --no-cancel --auto-close --text 'Updating Minecraft...'
|
(${DOCKER_COMPOSE} pull || :) | zenity --class 'Minecraft - Pi edition' --progress --pulsate --no-cancel --auto-close --text 'Updating Minecraft...'
|
||||||
${DOCKER_COMPOSE} run --rm -T minecraft-pi || :
|
${DOCKER_COMPOSE} run --rm minecraft-pi || :
|
||||||
|
RET="$?"
|
||||||
|
|
||||||
# Kill VirGL
|
# Kill VirGL
|
||||||
kill "${VIRGL_PID}"
|
kill "${VIRGL_PID}"
|
||||||
|
|
||||||
|
ecit "${RET}"
|
||||||
|
2
debian/server/usr/bin/minecraft-pi-server
vendored
2
debian/server/usr/bin/minecraft-pi-server
vendored
@ -7,4 +7,4 @@ export MCPI_ROOT="${PWD}"
|
|||||||
# Launch Minecraft
|
# Launch Minecraft
|
||||||
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/server/docker-compose.yml"
|
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/server/docker-compose.yml"
|
||||||
${DOCKER_COMPOSE} pull || :
|
${DOCKER_COMPOSE} pull || :
|
||||||
${DOCKER_COMPOSE} run --rm -T minecraft-pi
|
${DOCKER_COMPOSE} run --rm minecraft-pi-server
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version: '3.7'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
minecraft-pi:
|
minecraft-pi-server:
|
||||||
image: 'thebrokenrail/minecraft-pi:server'
|
image: 'thebrokenrail/minecraft-pi:server'
|
||||||
network_mode: 'host'
|
network_mode: 'host'
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user