Bug fix
This commit is contained in:
parent
a4d6343935
commit
585c640938
|
@ -12,8 +12,8 @@ android {
|
|||
applicationId "com.zane.smapiinstaller"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 30
|
||||
versionCode 66
|
||||
versionName "3.7.6.4"
|
||||
versionCode 67
|
||||
versionName "3.7.6.5"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
multiDexEnabled true
|
||||
|
|
|
@ -242,9 +242,9 @@ public class ApkPatcher {
|
|||
byte[] bytes = ByteStreams.toByteArray(in);
|
||||
ZipUtils.ZipEntrySource source;
|
||||
if (entry.isXALZ()) {
|
||||
source = new ZipUtils.ZipEntrySource(entry.getTargetPath() + filename, bytes, entry.getCompression());
|
||||
} else {
|
||||
source = new ZipUtils.ZipEntrySource(entry.getTargetPath() + filename, entry.getCompression(), () -> ZipUtils.decompressXALZ(bytes));
|
||||
} else {
|
||||
source = new ZipUtils.ZipEntrySource(entry.getTargetPath() + filename, bytes, entry.getCompression());
|
||||
}
|
||||
list.add(source);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue