mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
fix it
This commit is contained in:
parent
e82530ba91
commit
ba734ae08f
@ -430,7 +430,7 @@ public class PojavLoginActivity extends BaseActivity
|
|||||||
}
|
}
|
||||||
if(new File(Tools.homeJreDir+"/versions").isDirectory()) {
|
if(new File(Tools.homeJreDir+"/versions").isDirectory()) {
|
||||||
FileUtils.deleteDirectory(new File(Tools.homeJreDir+"/versions"));
|
FileUtils.deleteDirectory(new File(Tools.homeJreDir+"/versions"));
|
||||||
Tools.copyAssetFile(this, "components/jre/version", Tools.homeJreDir + "/",s, true);
|
Tools.copyAssetFile(this, "components/jre/version", Tools.homeJreDir + "/","version", true);
|
||||||
}
|
}
|
||||||
if (!isJavaRuntimeInstalled(am)) {
|
if (!isJavaRuntimeInstalled(am)) {
|
||||||
if(!installRuntimeAutomatically(am)) {
|
if(!installRuntimeAutomatically(am)) {
|
||||||
@ -438,7 +438,7 @@ public class PojavLoginActivity extends BaseActivity
|
|||||||
uncompressTarXZ(jreTarFile, new File(Tools.homeJreDir));
|
uncompressTarXZ(jreTarFile, new File(Tools.homeJreDir));
|
||||||
}
|
}
|
||||||
setPref(PREF_IS_INSTALLED_JAVARUNTIME, true);
|
setPref(PREF_IS_INSTALLED_JAVARUNTIME, true);
|
||||||
Tools.copyAssetFile(this, "components/jre/version", Tools.homeJreDir + "/",s, true);
|
Tools.copyAssetFile(this, "components/jre/version", Tools.homeJreDir + "/","version", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
JREUtils.relocateLibPath(this);
|
JREUtils.relocateLibPath(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user