void-packages/srcpkgs/minecraft/files/minecraft

8 lines
204 B
Bash

#!/bin/sh
HD=~/.minecraft
HDJ=$HD/minecraft16.jar
[ ! -d ${HD} ] && mkdir $HD
[ ! -f ${HDJ} ] && wget -O $HDJ https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
wmname LG3D
java -jar $HDJ