mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Revert cc2589d as it is unnecessary
This commit is contained in:
parent
3626f5c04d
commit
5ab6f05d07
@ -412,13 +412,7 @@ public class PojavLoginActivity extends BaseActivity
|
||||
if(rt_version == null) return false;
|
||||
if(!rt_version.equals(current_rt_version)) { //If we already have an integrated one installed, check if it's up-to-date
|
||||
try {
|
||||
InputStream rt_stream;
|
||||
try {
|
||||
rt_stream = am.open("components/jre/bin-" + Tools.CURRENT_ARCHITECTURE.split("/")[0] + ".tar.xz");
|
||||
} catch (IOException e) {
|
||||
rt_stream = am.open("components/jre/bin-" + Tools.CURRENT_ARCHITECTURE.split("/")[1] + ".tar.xz");
|
||||
}
|
||||
MultiRTUtils.installRuntimeNamedBinpack(am.open("components/jre/universal.tar.xz"), rt_stream, "Internal", rt_version,
|
||||
MultiRTUtils.installRuntimeNamedBinpack(am.open("components/jre/universal.tar.xz"), am.open("components/jre/bin-" + Tools.CURRENT_ARCHITECTURE.split("/")[0] + ".tar.xz"), "Internal", rt_version,
|
||||
(resid, vararg) -> {
|
||||
runOnUiThread(()->{startupTextView.setText(getString(resid,vararg));});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user