mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-06-02 11:26:06 +02:00
feat: add SignatureDownlaoder.kt
* Added automatic signatures downloader * Refactor `utils` package.
This commit is contained in:
parent
0239406100
commit
ba04fbbc65
|
@ -22,7 +22,7 @@ class Main {
|
|||
companion object {
|
||||
private fun runCLI(
|
||||
inApk: String,
|
||||
inSignatures: String,
|
||||
inSignatures: String?,
|
||||
inPatches: String,
|
||||
inIntegrations: String?,
|
||||
inOutput: String,
|
||||
|
@ -115,7 +115,7 @@ class Main {
|
|||
fullName = "signatures",
|
||||
shortName = "s",
|
||||
description = "Signatures JSON file"
|
||||
).required()
|
||||
)
|
||||
val patches by parser.option(
|
||||
ArgType.String,
|
||||
fullName = "patches",
|
||||
|
@ -136,7 +136,7 @@ class Main {
|
|||
).required()
|
||||
val downloadSignatures by parser.option(
|
||||
ArgType.Boolean,
|
||||
fullName = "downloadSignatures",
|
||||
fullName = "download-signatures",
|
||||
shortName = "ds",
|
||||
description = "Downloads signatures automatically."
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user