mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Patch the patch
This commit is contained in:
parent
84546f60cb
commit
2f2f0934d0
@ -90,11 +90,11 @@ public class MultiRTUtils {
|
||||
}
|
||||
|
||||
// Refresh libraries
|
||||
copyDummyNativeLib(ctx,"libawt_xawt.so",libFolder);
|
||||
copyDummyNativeLib(ctx,"libawt_xawt.so",dest,libFolder);
|
||||
}
|
||||
private static void copyDummyNativeLib(Context ctx, String name, String libFolder) throws IOException {
|
||||
private static void copyDummyNativeLib(Context ctx, String name, File dest, String libFolder) throws IOException {
|
||||
|
||||
File fileLib = new File(MultiRTUtils.runtimeFolder, "/"+libFolder + "/" + name);
|
||||
File fileLib = new File(dest, "/"+libFolder + "/" + name);
|
||||
fileLib.delete();
|
||||
FileInputStream is = new FileInputStream(new File(ctx.getApplicationInfo().nativeLibraryDir, name));
|
||||
FileOutputStream os = new FileOutputStream(fileLib);
|
||||
|
Loading…
x
Reference in New Issue
Block a user