This commit is contained in:
Jean-Marie Mineau 2025-04-07 15:40:51 +02:00
parent 190a8a8690
commit e6aafccf33
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
13 changed files with 47 additions and 181 deletions

View file

@ -21,6 +21,8 @@ struct Cli {
out: PathBuf,
#[arg(short, long)]
keystore: PathBuf,
#[arg(long)]
keypassword: Option<String>,
#[arg(short, long)]
zipalign: Option<PathBuf>,
#[arg(short, long)]
@ -84,6 +86,9 @@ fn main() {
i += 1;
}
// TODO: aapt would be a lot more stable?
println!("\n\n\n\n\n\n\n");
println!("### /!\\ {:?}", cli.keypassword.as_deref());
println!("\n\n\n\n\n\n\n");
apk_frauder::replace_dex(
cli.path,
cli.out,
@ -91,6 +96,7 @@ fn main() {
cli.keystore,
cli.zipalign,
cli.apksigner,
cli.keypassword.as_deref(),
None::<HashMap<_, Option<Cursor<&[u8]>>>>,
);
}