Skip to content

Commit

Permalink
Extract into ApkInvoker and split into data classes. (#3124)
Browse files Browse the repository at this point in the history
* extract AaptInvoker and rename MetaFile to ApkInfo, all decode methods from AndrolibResources moved to the ApkDecoder

* extract ARSCData and FlagsOffset from ARSCDecoder and remove unused imports

* rebase to master

* move decodeManifest and decodeResources to the ResourceDecoder

* remove commented old code
  • Loading branch information
sv99 committed Jul 3, 2023
1 parent e69b1ed commit a7e2e3e
Show file tree
Hide file tree
Showing 38 changed files with 1,278 additions and 1,289 deletions.
5 changes: 0 additions & 5 deletions brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import brut.androlib.exceptions.CantFindFrameworkResException;
import brut.androlib.exceptions.InFileNotFoundException;
import brut.androlib.exceptions.OutDirExistsException;
import brut.androlib.res.AndrolibResources;
import brut.androlib.res.Framework;
import brut.common.BrutException;
import brut.directory.DirectoryException;
Expand Down Expand Up @@ -205,10 +204,6 @@ private static void cmdDecode(CommandLine cli, Config config) throws AndrolibExc
} catch (DirectoryException ex) {
System.err.println("Could not modify internal dex files. Please ensure you have permission.");
System.exit(1);
} finally {
try {
decoder.close();
} catch (IOException ignored) {}
}
}

Expand Down
Loading

0 comments on commit a7e2e3e

Please sign in to comment.