mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-17 16:33:58 +00:00
feat: check, if input file exists
This commit is contained in:
@@ -138,7 +138,7 @@ internal object MainCommand : Runnable {
|
|||||||
|
|
||||||
val patcher = app.revanced.patcher.Patcher(
|
val patcher = app.revanced.patcher.Patcher(
|
||||||
PatcherOptions(
|
PatcherOptions(
|
||||||
args.inputFile,
|
args.inputFile.also { if (!it.exists()) return logger.error("Input file ${args.inputFile} does not exist.") },
|
||||||
pArgs.cacheDirectory,
|
pArgs.cacheDirectory,
|
||||||
pArgs.aaptPath,
|
pArgs.aaptPath,
|
||||||
pArgs.cacheDirectory,
|
pArgs.cacheDirectory,
|
||||||
|
|||||||
Reference in New Issue
Block a user