Skip to content

Instantly share code, notes, and snippets.

@husjon
Last active November 8, 2022 22:40
Show Gist options
  • Save husjon/6996fcd81e39981de771ec3c742c7cea to your computer and use it in GitHub Desktop.
Save husjon/6996fcd81e39981de771ec3c742c7cea to your computer and use it in GitHub Desktop.
FTB Launcher patch for Linux
596c596,597
< app_java_home=`pwd`
---
> java_binary_path="$(find -name 'java' | sed 's/\/bin\/java//')"
> app_java_home="$(realpath "${java_binary_path}")"
@husjon
Copy link
Author

husjon commented Nov 8, 2022

Applying the patch:

  • Download the patch, clicking the Raw button
  • Move it to the same directory where the Launcher is located
  • Run the command: patch FTBA_unix_202211021238-4322c4d8d1-release.sh FTBA_unix_202211021238-4322c4d8d1-release.sh.patch
  • You'll see the output patching file FTBA_unix_202211021238-4322c4d8d1-release.sh
  • You're done

This will apply the patch to the launcher and allow you to run and install the FTB Launcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment