mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 05:07:41 +02:00
removed --original
This commit is contained in:
@ -189,15 +189,6 @@ public class Androlib {
|
||||
: (Boolean) meta.get("compressionType"));
|
||||
mAndRes.setSdkInfo((Map<String, String>) meta.get("sdkInfo"));
|
||||
|
||||
// check the orig apk
|
||||
if (flags.get("injectOriginal")) {
|
||||
if (!origApk.isFile() || !origApk.canRead()) {
|
||||
throw new InFileNotFoundException();
|
||||
} else {
|
||||
mOrigApkFile = origApk;
|
||||
}
|
||||
}
|
||||
|
||||
if (outFile == null) {
|
||||
String outFileName = (String) meta.get("apkFileName");
|
||||
outFile = new File(appDir, "dist" + File.separator
|
||||
@ -450,13 +441,6 @@ public class Androlib {
|
||||
}
|
||||
mAndRes.aaptPackage(outApk, null, null, new File(appDir, APK_DIRNAME),
|
||||
assetDir, null, flags, mAaptPath);
|
||||
|
||||
// retain signature
|
||||
// aapt r (remove)
|
||||
// aapt a (add)
|
||||
if (flags.get("injectOriginal")) {
|
||||
LOGGER.info("Injecting contents isn't ready yet. Sorry :(");
|
||||
}
|
||||
}
|
||||
|
||||
public void publicizeResources(File arscFile) throws AndrolibException {
|
||||
|
@ -182,7 +182,6 @@ public class BuildAndDecodeTest {
|
||||
tmp.put("forceBuildAll", false);
|
||||
tmp.put("debug", false);
|
||||
tmp.put("verbose", false);
|
||||
tmp.put("injectOriginal", false);
|
||||
tmp.put("framework", false);
|
||||
tmp.put("update", false);
|
||||
|
||||
|
Reference in New Issue
Block a user