mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-10-04 11:25:46 -04:00
Make Boardwalk2's JRE9 runtime works on this launcher
This commit is contained in:
1 parent
f2d44e8f14
commit
e6ea54740d
17 files changed
+4
-1
No files matched your search
@@ -1035,6 +1035,8 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
getApplicationInfo().nativeLibraryDir
|
||||
);
|
||||
*/
|
||||
|
||||
javaArgList.add("-Djava.home=" + Tools.homeJreDir);
|
||||
javaArgList.add("-Dos.name=Linux");
|
||||
|
||||
// javaArgList.add("-Dorg.lwjgl.system.jemalloc.libname=libjemalloc.so");
|
||||
@@ -1114,9 +1116,10 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
// setEnvironment("LIBGL_MIPMAP", "3");
|
||||
setEnvironment("MESA_GLSL_CACHE_DIR", getCacheDir().getAbsolutePath());
|
||||
setEnvironment("LD_LIBRARY_PATH", ldLibraryPath);
|
||||
setEnvironment("PATH", Tools.homeJreDir + "/bin:" + Os.getenv("PATH"));
|
||||
|
||||
// can fix java?
|
||||
setEnvironment("ORIGIN", Tools.homeJreDir + "/lib");
|
||||
// setEnvironment("ORIGIN", Tools.homeJreDir + "/lib");
|
||||
|
||||
if (LAUNCH_TYPE == LTYPE_PROCESS) {
|
||||
mLaunchShell.writeToProcess("cd $HOME");
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user