mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 05:44:24 +02:00

This commit introduces a couple changes besides the refactor. Executing patches can be cancelled, multiple bundles loaded into the same class loader and `Patch.execute` does not have to return anymore. BREAKING CHANGE: Various public APIs have been changed. The `Version` annotation has been removed. Patches do not return anything anymore and instead throw `PatchException`. Multiple patch bundles can now be loaded in a single ClassLoader to bypass class loader isolation.
8 lines
159 B
Kotlin
8 lines
159 B
Kotlin
package app.revanced.patcher
|
|
|
|
import java.io.File
|
|
|
|
@FunctionalInterface
|
|
interface IntegrationsConsumer {
|
|
fun acceptIntegrations(integrations: List<File>)
|
|
} |