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()