File tree 1 file changed +1
-2
lines changed
src/main/kotlin/xyz/cssxsh/mirai/skia
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package xyz.cssxsh.mirai.skia
3
3
import kotlinx.coroutines.*
4
4
import net.mamoe.mirai.console.extension.*
5
5
import net.mamoe.mirai.console.plugin.jvm.*
6
- import net.mamoe.mirai.console.plugin.version
7
6
import net.mamoe.mirai.utils.*
8
7
import org.jetbrains.skiko.*
9
8
import xyz.cssxsh.skia.*
@@ -37,7 +36,7 @@ public object MiraiSkiaPlugin : KotlinPlugin(
37
36
override fun onEnable () {
38
37
logger.info { " platform: ${hostId} , skia: ${Version .skia} , skiko: ${Version .skiko} " }
39
38
launch {
40
- loadJNILibrary(folder = resolveDataFile(" lib" ), version = version )
39
+ loadJNILibrary(folder = resolveDataFile(" lib" ))
41
40
loadTypeface(folder = resolveDataFile(" fonts" ))
42
41
logger.info { " fonts: ${FontUtils .provider.makeFamilies().keys} " }
43
42
}
You can’t perform that action at this time.
0 commit comments