mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-24 11:41:04 +00:00
fix: ClassLoader not working with Java 9+
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package app.revanced.cli
|
||||
|
||||
import app.revanced.patch.PatchLoader
|
||||
import app.revanced.patch.Patches
|
||||
import app.revanced.utils.adb.Adb
|
||||
import picocli.CommandLine.*
|
||||
@@ -49,8 +48,7 @@ internal object MainCommand : Runnable {
|
||||
override fun run() {
|
||||
if (listOnly) {
|
||||
patchBundles.forEach {
|
||||
PatchLoader.injectPatches(it)
|
||||
Patches.loadPatches().forEach {
|
||||
Patches.load(it).forEach {
|
||||
println(it().metadata)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user