mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-13 14:43:15 +00:00
fix: defaultExclude unused
This commit is contained in:
@@ -28,8 +28,8 @@ fun Patcher.addPatchesFiltered() {
|
|||||||
if (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.defaultExclude) && !args.includedPatches.contains(patchName)) {
|
||||||
logger.info("$prefix: Not explicitely included")
|
logger.info("$prefix: Not explicitly included")
|
||||||
return@patch
|
return@patch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user