mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-08-28 05:45:03 -06:00
Patch the patch
This commit is contained in:
parent
84546f60cb
commit
2f2f0934d0
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue