mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-04 22:44:24 +02:00
fix: Run code-block if executablePatches
does not yet contain patch
This commit is contained in:
parent
4e7811ea07
commit
1d7aeca696
@ -74,7 +74,7 @@ class Patcher(
|
||||
}
|
||||
|
||||
// Add all patches and their dependencies to the context.
|
||||
for (patch in patches) context.executablePatches.putIfAbsent(patch::class, patch) ?: {
|
||||
for (patch in patches) context.executablePatches.putIfAbsent(patch::class, patch) ?: run {
|
||||
context.allPatches[patch::class] = patch
|
||||
|
||||
patch.dependencies?.forEach { it.putDependenciesRecursively() }
|
||||
|
Loading…
x
Reference in New Issue
Block a user