mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 05:20:14 -07:00
[JRE test] disable arg test
This commit is contained in:
parent
7a0e4efcec
commit
f5a5a63405
1 changed files with 4 additions and 2 deletions
|
|
@ -990,10 +990,11 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkJavaArgsIsLaunchable(String jreVersion) throws Throwable {
|
private void checkJavaArgsIsLaunchable(String jreVersion) throws Throwable {
|
||||||
if (jreVersion.equals("1.9.0")) return;
|
|
||||||
|
|
||||||
appendlnToLog("Info: Custom Java arguments: \"" + LauncherPreferences.PREF_CUSTOM_JAVA_ARGS + "\"");
|
appendlnToLog("Info: Custom Java arguments: \"" + LauncherPreferences.PREF_CUSTOM_JAVA_ARGS + "\"");
|
||||||
|
|
||||||
|
if (jreVersion.equals("1.9.0")) return;
|
||||||
|
|
||||||
|
/*
|
||||||
// Test java
|
// Test java
|
||||||
ShellProcessOperation shell = new ShellProcessOperation(new ShellProcessOperation.OnPrintListener(){
|
ShellProcessOperation shell = new ShellProcessOperation(new ShellProcessOperation.OnPrintListener(){
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -1021,6 +1022,7 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
|
||||||
appendlnToLog("Error: the test returned non-zero exit code.");
|
appendlnToLog("Error: the test returned non-zero exit code.");
|
||||||
// throw new RuntimeException(getString(R.string.mcn_check_fail_java));
|
// throw new RuntimeException(getString(R.string.mcn_check_fail_java));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkLWJGL3Installed() {
|
private void checkLWJGL3Installed() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue