mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-12 17:40:11 -07:00
[Mod install] Bug fix could not load main class
This commit is contained in:
parent
c7a10421d9
commit
11fb5bb254
2 changed files with 4 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ public class JavaGUILauncherActivity extends LoggableActivity {
|
|||
});
|
||||
|
||||
final File modFile = (File) getIntent().getExtras().getSerializable("modFile");
|
||||
final String javaArgs = getIntent().getExtras().getString("javaArgs", "");
|
||||
final String javaArgs = getIntent().getExtras().getString("javaArgs");
|
||||
|
||||
mTextureView = findViewById(R.id.installmod_surfaceview);
|
||||
|
||||
|
|
@ -204,6 +204,8 @@ public class JavaGUILauncherActivity extends LoggableActivity {
|
|||
|
||||
// System.out.println(Arrays.toString(javaArgList.toArray(new String[0])));
|
||||
|
||||
appendlnToLog("Info: Java arguments: " + Arrays.toString(javaArgList.toArray(new String[0])));
|
||||
|
||||
Tools.launchJavaVM(this, javaArgList);
|
||||
} catch (Throwable th) {
|
||||
Tools.showError(this, th, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue