Last active
November 8, 2022 22:40
-
-
Save husjon/6996fcd81e39981de771ec3c742c7cea to your computer and use it in GitHub Desktop.
FTB Launcher patch for Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
596c596,597 | |
< app_java_home=`pwd` | |
--- | |
> java_binary_path="$(find -name 'java' | sed 's/\/bin\/java//')" | |
> app_java_home="$(realpath "${java_binary_path}")" |
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
The following patch adjust the definition of the downloaded Java Runtime to the full path of the extracted binary.
find
to locate the binary./bin/bava
suffix to adhere to variable usage later on.realpath
.