Compare commits

..

2 Commits

Author SHA1 Message Date
semantic-release-bot
a0067c7911 chore(release): 2.22.0-dev.1 [skip ci]
# [2.22.0-dev.1](https://github.com/revanced/revanced-cli/compare/v2.21.5...v2.22.0-dev.1) (2023-07-10)

### Features

* use new patch naming convention ([e4908c7](e4908c7105))
2023-07-10 16:51:55 +00:00
oSumAtrIX
e4908c7105 feat: use new patch naming convention 2023-07-10 18:49:40 +02:00
3 changed files with 2 additions and 10 deletions

View File

@@ -1,10 +1,3 @@
# [2.22.0](https://github.com/revanced/revanced-cli/compare/v2.21.5...v2.22.0) (2023-07-11)
### Features
* use new patch naming convention ([f6c221d](https://github.com/revanced/revanced-cli/commit/f6c221d72dc43ebea00e5eba6bfa02751ae8ad77))
# [2.22.0-dev.1](https://github.com/revanced/revanced-cli/compare/v2.21.5...v2.22.0-dev.1) (2023-07-10)

View File

@@ -1,4 +1,4 @@
org.gradle.parallel = true
org.gradle.caching = true
kotlin.code.style = official
version = 2.22.0
version = 2.22.0-dev.1

View File

@@ -43,7 +43,6 @@ internal object MainCommand : Runnable {
lateinit var args: Args
class Args {
// TODO: Move this so it is not required when listing patches
@Option(names = ["-a", "--apk"], description = ["Input APK file to be patched"], required = true)
lateinit var inputFile: File
@@ -242,7 +241,7 @@ internal object MainCommand : Runnable {
}
// Add patch name
val patchName = patch.patchName.lowercase().replace(" ", "-").padStart(25)
val patchName = patch.patchName.lowercase().replace("-", " ").padStart(25)
append(patchName)
// Add description if flag is set.