From ce83872abca0dc4d47977dbff5badacce0cb55aa Mon Sep 17 00:00:00 2001 From: Niklas Higi Date: Sun, 21 Apr 2024 14:45:28 +0200 Subject: [PATCH] Fix `--apktool` accidentally being required --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index e0606f1..bbfa26c 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -78,7 +78,7 @@ async function main() { const apktool = new Apktool({ frameworkPath: path.join(tmpDir, 'framework'), - customPath: path.resolve(args.apktool), + customPath: args.apktool ? path.resolve(args.apktool) : undefined, }) const uberApkSigner = new UberApkSigner()