Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Script to automate patching LWJGL in ~/.minecraft

View minecraft-lwgjl-patch.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash
 
VERSION="2.9.0"
 
mkdir -p ~/.minecraft/bin/natives
 
wget -c "http://iweb.dl.sourceforge.net/project/java-game-lib/Official%20Releases/LWJGL%20${VERSION}/lwjgl-${VERSION}.zip"
 
unzip "./lwjgl-${VERSION}.zip"
 
cp "./lwjgl-${VERSION}/native/linux/"* ~/.minecraft/bin/natives
cp "./lwjgl-${VERSION}/jar/lwjgl.jar" "./lwjgl-${VERSION}/jar/lwjgl_util.jar" "./lwjgl-${VERSION}/jar/jinput.jar" ~/.minecraft/bin
 
rm -rf "./lwjgl-${VERSION}/" "./lwjgl-${VERSION}.zip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.