mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
regression: fix decoding a jar file.
This commit is contained in:
parent
edb1aa709f
commit
65be443e05
@ -65,7 +65,6 @@ public class ApkDecoder {
|
|||||||
|
|
||||||
public void decode() throws AndrolibException, IOException {
|
public void decode() throws AndrolibException, IOException {
|
||||||
File outDir = getOutDir();
|
File outDir = getOutDir();
|
||||||
setAnalysisMode(mAnalysisMode, true);
|
|
||||||
|
|
||||||
if (!mForceDelete && outDir.exists()) {
|
if (!mForceDelete && outDir.exists()) {
|
||||||
throw new OutDirExistsException();
|
throw new OutDirExistsException();
|
||||||
@ -97,6 +96,7 @@ public class ApkDecoder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hasResources()) {
|
if (hasResources()) {
|
||||||
|
setAnalysisMode(mAnalysisMode, true);
|
||||||
// read the resources.arsc checking for STORED vs DEFLATE
|
// read the resources.arsc checking for STORED vs DEFLATE
|
||||||
// compression
|
// compression
|
||||||
// this will determine whether we compress on rebuild or not.
|
// this will determine whether we compress on rebuild or not.
|
||||||
|
Loading…
Reference in New Issue
Block a user