Skip to content

Instantly share code, notes, and snippets.

@Higgs1
Created February 26, 2014 01:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Higgs1/9221555 to your computer and use it in GitHub Desktop.
Save Higgs1/9221555 to your computer and use it in GitHub Desktop.
My custom Minecraft launcher
#!/usr/bin/env bash
cd "$(dirname "$(realpath "$0")")"
source minecraft.properties
exec java -cp minecraft.zip -Djava.library.path=natives -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true net.minecraft.launchwrapper.Launch --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --assetsDir assets --gameDir data --username $username --session $session --version $version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment