mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 15:09:24 +01:00
fixes #440 includes prebuilt aapt binaries
This commit is contained in:
parent
73c0bccaf0
commit
0c5871687f
1
CHANGES
1
CHANGES
@ -3,6 +3,7 @@ v2.0.0 (TBA)
|
||||
-Fixed (issue #403) - Uses new usage output to cleanup organization of features.
|
||||
-Fixed (issue #359) - Correclty handles malformed 9patch images. (Thanks Felipe Richards)
|
||||
-Fixed (issue #401) - Uses versionInfo meta to correctly parse versionName and versionCode
|
||||
-Fixed (issue #440) - Include aapt binaries within Apktool to have closer control over build.
|
||||
|
||||
v1.5.3 (TBA)
|
||||
-Updated to smali/baksmali to v1.4.2
|
||||
|
@ -758,8 +758,11 @@ final public class AndrolibResources {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @see https://github.com/iBotPeaches/platform_frameworks_base
|
||||
* Using a prebuilt aapt and forcing its use, allows us to prevent bugs from older aapt's
|
||||
* along with having a finer control over the build procedure.
|
||||
*
|
||||
* Aapt can still be over
|
||||
* @url https://github.com/iBotPeaches/platform_frameworks_base
|
||||
* @return
|
||||
* @throws AndrolibException
|
||||
*/
|
||||
@ -767,13 +770,13 @@ final public class AndrolibResources {
|
||||
try {
|
||||
if (OSDetection.isMacOSX()) {
|
||||
mAaptBinary = Jar
|
||||
.getResourceAsFile("/aapt/macosx/aapt");
|
||||
.getResourceAsFile("/prebuilt/aapt/macosx/aapt");
|
||||
} else if (OSDetection.isUnix()) {
|
||||
mAaptBinary = Jar
|
||||
.getResourceAsFile("/aapt/linux/aapt");
|
||||
.getResourceAsFile("/prebuilt/aapt/linux/aapt");
|
||||
} else if (OSDetection.isWindows()) {
|
||||
mAaptBinary = Jar
|
||||
.getResourceAsFile("/aapt/windows/aapt.exe");
|
||||
.getResourceAsFile("/prebuilt/aapt/windows/aapt.exe");
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
BIN
brut.apktool/apktool-lib/src/main/resources/prebuilt/aapt/windows/aapt.exe
Executable file
BIN
brut.apktool/apktool-lib/src/main/resources/prebuilt/aapt/windows/aapt.exe
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user