Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit 98bd6f3

Browse files
committed
feat: rename debugging option to experimental
1 parent 1a3db77 commit 98bd6f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/kotlin/app/revanced/cli/command/MainCommand.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ internal object MainCommand : Runnable {
4747
@Option(names = ["-r", "--resource-patcher"], description = ["Disable patching resources"])
4848
var disableResourcePatching: Boolean = false
4949

50-
@Option(names = ["--debugging"], description = ["Disable patch version compatibility"])
51-
var debugging: Boolean = false
50+
@Option(names = ["-e", "--experimental"], description = ["Disable patch version compatibility patch"])
51+
var experimental: Boolean = false
5252

5353
@Option(names = ["-m", "--merge"], description = ["One or more dex file containers to merge"])
5454
var mergeFiles = listOf<File>()

src/main/kotlin/app/revanced/utils/patcher/Patcher.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fun Patcher.addPatchesFiltered(
4343
return@patch
4444
}
4545

46-
if (!(args.debugging || compatiblePackages.any { it.versions.isEmpty() || it.versions.any { version -> version == packageVersion }})) {
46+
if (!(args.experimental || compatiblePackages.any { it.versions.isEmpty() || it.versions.any { version -> version == packageVersion }})) {
4747
println("$prefix: The package version is $packageVersion and is incompatible.")
4848
return@patch
4949
}

0 commit comments

Comments
 (0)