mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 23:00:45 -04:00
Use Apache IOUtils to copy extracted file data
This commit is contained in:
parent
27c2cbc2b1
commit
71bbd17a53
@ -454,7 +454,10 @@ public class PojavLoginActivity extends AppCompatActivity
|
||||
destPath.getParentFile().mkdirs();
|
||||
destPath.createNewFile();
|
||||
// destPath.setExecutable(true);
|
||||
|
||||
IOUtils.copy(tarIn, new FileOutputStream(destPath));
|
||||
|
||||
/*
|
||||
byte[] btoRead = new byte[2048];
|
||||
BufferedOutputStream bout =
|
||||
new BufferedOutputStream(new FileOutputStream(destPath));
|
||||
@ -466,7 +469,7 @@ public class PojavLoginActivity extends AppCompatActivity
|
||||
|
||||
bout.close();
|
||||
btoRead = null;
|
||||
|
||||
*/
|
||||
}
|
||||
tarEntry = tarIn.getNextTarEntry();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user