void-packages/srcpkgs/minecraft/files/minecraft

7 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