mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-12 13:17:46 +01:00
feat: check, if input file exists
This commit is contained in:
parent
29b057dead
commit
b6dff6d832
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user