mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 13:00:12 -07:00
Fix ld lib path (2/2)
This commit is contained in:
parent
ffd740ffdf
commit
ffa6d7d0d7
3 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue