apktool: Always assume custom aapt
that does not have `--forced-package-id` option.
This commit is contained in:
parent
f820729792
commit
2e28638795
11
packages/apktool/AndrolibResources.java.patch
Normal file
11
packages/apktool/AndrolibResources.java.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java
|
||||||
|
+++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java
|
||||||
|
@@ -611,7 +611,7 @@
|
||||||
|
throws AndrolibException {
|
||||||
|
|
||||||
|
String aaptPath = apkOptions.aaptPath;
|
||||||
|
- boolean customAapt = !aaptPath.isEmpty();
|
||||||
|
+ boolean customAapt = true;
|
||||||
|
List<String> cmd = new ArrayList<>();
|
||||||
|
|
||||||
|
try {
|
@ -17,6 +17,7 @@ termux_step_pre_configure() {
|
|||||||
$CC $CFLAGS $CPPFLAGS aapt-wrapper/${exe_name}-wrapper.c \
|
$CC $CFLAGS $CPPFLAGS aapt-wrapper/${exe_name}-wrapper.c \
|
||||||
-o ${exe_path} $LDFLAGS
|
-o ${exe_path} $LDFLAGS
|
||||||
$STRIP --strip-unneeded ${exe_path}
|
$STRIP --strip-unneeded ${exe_path}
|
||||||
|
$TERMUX_ELF_CLEANER ${exe_path}
|
||||||
cp -a ${exe_path} ${exe_path}_64
|
cp -a ${exe_path} ${exe_path}_64
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user