mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 14:51:51 -04:00
Fix ld lib path (2/2)
This commit is contained in:
parent
ffd740ffdf
commit
ffa6d7d0d7
@ -106,7 +106,7 @@ public class InstallModActivity extends LoggableActivity {
|
||||
|
||||
private int launchJavaRuntime(File modFile, String javaArgs) {
|
||||
try {
|
||||
JREUtils.relocateLibPath();
|
||||
JREUtils.relocateLibPath(this);
|
||||
|
||||
List<String> javaArgList = new ArrayList<String>();
|
||||
javaArgList.add(Tools.homeJreDir + "/bin/java");
|
||||
|
@ -314,7 +314,7 @@ public class PojavLoginActivity extends AppCompatActivity
|
||||
setPref(PREF_IS_INSTALLED_JAVARUNTIME, true);
|
||||
}
|
||||
|
||||
JREUtils.relocateLibPath();
|
||||
JREUtils.relocateLibPath(this);
|
||||
|
||||
File ftIn = new File(Tools.homeJreDir, Tools.homeJreLib + "/libfreetype.so.6");
|
||||
File ftOut = new File(Tools.homeJreDir, Tools.homeJreLib + "/libfreetype.so");
|
||||
|
@ -76,7 +76,7 @@ public final class Tools
|
||||
public static ShellProcessOperation mLaunchShell;
|
||||
private static int exitCode = 0;
|
||||
public static void launchMinecraft(final LoggableActivity ctx, MCProfile.Builder profile, JMinecraftVersionList.Version versionInfo) throws Throwable {
|
||||
JREUtils.relocateLibPath();
|
||||
JREUtils.relocateLibPath(ctx);
|
||||
String[] launchArgs = getMinecraftArgs(profile, versionInfo);
|
||||
|
||||
List<String> javaArgList = new ArrayList<String>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user