mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
fix: Run code-block if executablePatches
does not yet contain patch
This commit is contained in:
parent
4e7811ea07
commit
1d7aeca696
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue