mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-11 13:56:17 +00:00
fix: Use the JVM name instead of the value from KClass#toString
This commit is contained in:
@@ -6,6 +6,7 @@ import app.revanced.patcher.patch.options.PatchOption
|
|||||||
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
|
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
|
||||||
import java.io.InputStream
|
import java.io.InputStream
|
||||||
import java.io.OutputStream
|
import java.io.OutputStream
|
||||||
|
import kotlin.reflect.jvm.jvmName
|
||||||
|
|
||||||
typealias PackageName = String
|
typealias PackageName = String
|
||||||
typealias Version = String
|
typealias Version = String
|
||||||
@@ -159,7 +160,7 @@ object PatchUtils {
|
|||||||
patch.name,
|
patch.name,
|
||||||
patch.description,
|
patch.description,
|
||||||
patch.compatiblePackages,
|
patch.compatiblePackages,
|
||||||
buildSet { patch.dependencies?.forEach { add(it.toString()) } },
|
buildSet { patch.dependencies?.forEach { add(it.jvmName) } },
|
||||||
patch.use,
|
patch.use,
|
||||||
patch.requiresIntegrations,
|
patch.requiresIntegrations,
|
||||||
patch.options.mapValues { FullJsonPatchOption.fromPatchOption(it.value) },
|
patch.options.mapValues { FullJsonPatchOption.fromPatchOption(it.value) },
|
||||||
|
|||||||
Reference in New Issue
Block a user