Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Script to automate patching LWJGL in ~/.minecraft
mkdir -p ~/.minecraft/bin/natives
wget -c "${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.