mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 12:30:11 -07:00
Add launch checks; Fix cursor not working on grab mode
This commit is contained in:
parent
3527d307f7
commit
9f0a79176b
9 changed files with 93 additions and 35 deletions
|
|
@ -34,7 +34,8 @@ public final class Tools
|
|||
public static String mhomeUrl = "https://pojavlauncherteam.github.io/PojavLauncher"; // "http://kdtjavacraft.eu5.net";
|
||||
public static String datapath = "/data/data/net.kdt.pojavlaunch";
|
||||
public static String worksDir = datapath + "/app_working_dir";
|
||||
|
||||
public static String currentArch;
|
||||
|
||||
// New since 3.0.0
|
||||
public static String homeJreDir = datapath + "/jre_runtime";
|
||||
|
||||
|
|
@ -122,7 +123,7 @@ public final class Tools
|
|||
// can fix java?
|
||||
// setEnvironment("ORIGIN", Tools.homeJreDir + "/lib");
|
||||
|
||||
JREUtils.setJavaEnvironment(ctx);
|
||||
JREUtils.setJavaEnvironment(ctx, Tools.LAUNCH_TYPE);
|
||||
|
||||
if (LAUNCH_TYPE == LTYPE_PROCESS) {
|
||||
mLaunchShell.writeToProcess("cd $HOME");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue