mirror of
https://github.com/revanced/Apktool.git
synced 2024-09-05 05:55:29 +02: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 #403) - Uses new usage output to cleanup organization of features.
|
||||||
-Fixed (issue #359) - Correclty handles malformed 9patch images. (Thanks Felipe Richards)
|
-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 #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)
|
v1.5.3 (TBA)
|
||||||
-Updated to smali/baksmali to v1.4.2
|
-Updated to smali/baksmali to v1.4.2
|
||||||
|
@ -758,8 +758,11 @@ final public class AndrolibResources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Using a prebuilt aapt and forcing its use, allows us to prevent bugs from older aapt's
|
||||||
* @see https://github.com/iBotPeaches/platform_frameworks_base
|
* along with having a finer control over the build procedure.
|
||||||
|
*
|
||||||
|
* Aapt can still be over
|
||||||
|
* @url https://github.com/iBotPeaches/platform_frameworks_base
|
||||||
* @return
|
* @return
|
||||||
* @throws AndrolibException
|
* @throws AndrolibException
|
||||||
*/
|
*/
|
||||||
@ -767,13 +770,13 @@ final public class AndrolibResources {
|
|||||||
try {
|
try {
|
||||||
if (OSDetection.isMacOSX()) {
|
if (OSDetection.isMacOSX()) {
|
||||||
mAaptBinary = Jar
|
mAaptBinary = Jar
|
||||||
.getResourceAsFile("/aapt/macosx/aapt");
|
.getResourceAsFile("/prebuilt/aapt/macosx/aapt");
|
||||||
} else if (OSDetection.isUnix()) {
|
} else if (OSDetection.isUnix()) {
|
||||||
mAaptBinary = Jar
|
mAaptBinary = Jar
|
||||||
.getResourceAsFile("/aapt/linux/aapt");
|
.getResourceAsFile("/prebuilt/aapt/linux/aapt");
|
||||||
} else if (OSDetection.isWindows()) {
|
} else if (OSDetection.isWindows()) {
|
||||||
mAaptBinary = Jar
|
mAaptBinary = Jar
|
||||||
.getResourceAsFile("/aapt/windows/aapt.exe");
|
.getResourceAsFile("/prebuilt/aapt/windows/aapt.exe");
|
||||||
} else {
|
} else {
|
||||||
return null;
|
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