mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-05-19 07:24:38 -04:00
[Forge installer] bug fixes
This commit is contained in:
@@ -108,6 +108,8 @@ public class JavaGUILauncherActivity extends LoggableActivity {
|
||||
}
|
||||
|
||||
private void doCustomInstall(File modFile, String javaArgs) throws IOException {
|
||||
isLogAllow = true;
|
||||
|
||||
// Attempt to detects some mod installers
|
||||
BaseInstaller installer = new BaseInstaller();
|
||||
installer.setInput(modFile);
|
||||
@@ -116,6 +118,7 @@ public class JavaGUILauncherActivity extends LoggableActivity {
|
||||
appendlnToLog("Detected Forge installer!");
|
||||
new ForgeInstaller(installer).install(this);
|
||||
} else {
|
||||
isLogAllow = false;
|
||||
mIsCustomInstall = false;
|
||||
launchJavaRuntime(modFile, javaArgs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user