mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-04 17:32:53 +01:00
fix: remove excludePatches
check
This commit is contained in:
parent
125fa06ca6
commit
eb83cabfff
@ -25,7 +25,7 @@ fun Patcher.addPatchesFiltered() {
|
|||||||
|
|
||||||
val args = MainCommand.args.sArgs?.pArgs!!
|
val args = MainCommand.args.sArgs?.pArgs!!
|
||||||
|
|
||||||
if (excludePatches && args.excludedPatches.contains(patchName)) {
|
if (args.excludedPatches.contains(patchName)) {
|
||||||
logger.info("$prefix: Explicitely excluded")
|
logger.info("$prefix: Explicitely excluded")
|
||||||
return@patch
|
return@patch
|
||||||
} else if (!patch.include && !args.includedPatches.contains(patchName)) {
|
} else if (!patch.include && !args.includedPatches.contains(patchName)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user