Add new aapt binaries

- 32/64 unix
 - windows
This commit is contained in:
Connor Tumbleson 2016-12-22 09:06:25 -05:00
parent b9736d97e3
commit dae52d3899
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75
5 changed files with 14 additions and 1 deletions

View File

@ -774,8 +774,21 @@ final public class AndrolibResources {
try {
if (OSDetection.isMacOSX()) {
aaptBinary = Jar.getResourceAsFile("/prebuilt/aapt/macosx/aapt");
/*
Need to build these still.
if (OSDetection.is64Bit()) {
aaptBinary = Jar.getResourceAsFile("/prebuilt/aapt/macosx/64/aapt");
} else {
aaptBinary = Jar.getResourceAsFile("/prebuilt/aapt/macosx/32/aapt");
}
*/
} else if (OSDetection.isUnix()) {
aaptBinary = Jar.getResourceAsFile("/prebuilt/aapt/linux/aapt");
if (OSDetection.is64Bit()) {
aaptBinary = Jar.getResourceAsFile("/prebuilt/aapt/linux/64/aapt");
} else {
aaptBinary = Jar.getResourceAsFile("/prebuilt/aapt/linux/32/aapt");
}
} else if (OSDetection.isWindows()) {
aaptBinary = Jar.getResourceAsFile("/prebuilt/aapt/windows/aapt.exe");
} else {