Alexei Khlebnikov
76bf6ff0c8
dir: add methods getSize() and getCompressedSize()
2018-07-19 18:12:07 +02:00
Connor Tumbleson
6b9fb5bb51
fix: don't normalize sectional, entire string after cleaned
2018-04-05 16:46:36 -04:00
Connor Tumbleson
07afbdb52b
fix: normalize path to fix building .apk on Windows
...
- fixes #1741
2018-04-05 16:24:58 -04:00
Connor Tumbleson
8de1354007
aapt2: ZipUtils class to replicate the building of final zip
2018-02-22 11:22:40 -05:00
Connor Tumbleson
9fc1ede991
License 2018 update
2018-02-16 08:26:53 -05:00
Connor Tumbleson
dc2db53dec
dir: remove unused file
2018-02-16 08:21:21 -05:00
Connor Tumbleson
dd7b397ae5
Remove redundant check
2017-09-19 14:40:25 -04:00
Connor Tumbleson
a0ae7eaea8
Skip any file attempting to use relative paths
...
- fixes #1589
2017-09-03 18:12:57 -04:00
Connor Tumbleson
1597c12472
changed all license files
2017-07-05 12:05:52 -04:00
Marvin Killing
693f592b13
Ignore file entries containing '..' in the APK file to fix #1498
...
Zip/APK files can legally contain entries that point to the parent directory of the one in which the .zip is located.
Usually, unzip implementations ignore them by default, and we‘ll do the same.
2017-05-09 22:17:45 +02:00
Connor Tumbleson
e2f77aac18
Pass exception back to user
...
- check object is not null before closing
- refs #1160
2017-05-05 07:46:56 -04:00
Marc Miltenberger
66c1b46865
Closing Framework and APK after use
...
This commit should fix https://github.com/iBotPeaches/Apktool/issues/1160
2017-05-02 08:21:09 +02:00
Connor Tumbleson
78a7724725
manually replace %20 w/ space
2016-12-25 08:47:20 -05:00
Connor Tumbleson
3ba82b08e3
leverage paths for default FileDirectory constructor
2016-12-25 08:22:31 -05:00
Connor Tumbleson
891d0d39e0
Refactor ExtFile to brut.j.dir
...
- move to using Paths when possible
- adapt calls to FileDirectory to leverage Paths
2016-12-25 07:57:41 -05:00
Andrew Grieve
392420c909
Adds doNotCompress list to apktool.yml
...
This is the list of files (resources, assets, etc) that are stored in
the .apk uncompressed.
For apps that use AssetFileDescriptor.openFd(), the adding compression
will break the call.
Maintains support for the resourcesAreCompressed key, but no longer
records it when decompiling (it instead records resources.arsc in the
doNotCompress list).
2015-08-14 11:52:33 -04:00
Connor Tumbleson
81e6af093b
Removes general access bit hack
...
- fixed in aosp: android_libcore/commit/25681be69e19a834b00cfbf54cd99ac13f12b9ff
- reverts 42f69fd74597fd42a5bb1e0c3d3564d207d0eb4b
- reverts 47a5eac0b0a4188f610a734d0aad27a35450994c
- fixes googlecode issue 744
2015-01-21 07:12:26 -06:00
Connor Tumbleson
a7d8ca9086
cs fixes, remove unused imports
2014-10-29 16:18:47 -05:00
Connor Tumbleson
9031c22365
[skip] update all copyrights to 2014
2014-10-23 18:14:48 -05:00
chrisch1974
1fd8a0c361
DirUtil: fixed exception when decompiling with -r and no res folder exists in the apk
2014-05-25 11:44:55 -05:00
Connor Tumbleson
42f69fd745
fixes #439
...
Extends ZipFile using apache commons compress ZipFile, to have finer control over the header allowing some parts to be ignored,
ex: the general access bit
2013-04-06 12:50:42 -05:00
Connor Tumbleson
60c806f2e2
Moving all REPOs into one
2012-09-19 20:19:12 -05:00