File tree 2 files changed +2
-10
lines changed
src/main/kotlin/xyz/cssxsh/mirai/plugin
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
7
7
}
8
8
9
9
group = " xyz.cssxsh.mirai"
10
- version = " 1.0.4-M1 "
10
+ version = " 1.0.4-M2 "
11
11
12
12
repositories {
13
13
mavenLocal()
@@ -49,8 +49,6 @@ kotlin {
49
49
tasks {
50
50
test {
51
51
useJUnitPlatform()
52
-
53
- systemProperty(" java.library.path" , workingDir.resolve(" jni" ).absolutePath)
54
52
}
55
53
}
56
54
Original file line number Diff line number Diff line change @@ -27,15 +27,9 @@ public object MiraiSkiaPlugin : KotlinPlugin(
27
27
launch {
28
28
loadTypeface(folder = dataFolder.resolve(" fonts" ))
29
29
logger.info { " fonts: ${FontUtils .provider.makeFamilies().keys} " }
30
-
31
- try {
32
- xyz.cssxsh.gif.Library .staticLoad()
33
- } catch (cause: Throwable ) {
34
- logger.warning { cause.message }
35
- }
36
30
}
37
31
38
- val test = System .getProperty(" xyz.cssxsh.skia.test" , " false " ).toBoolean()
32
+ val test = System .getProperty(" xyz.cssxsh.skia.test" ).toBoolean()
39
33
if (test) {
40
34
launch {
41
35
loadFace(folder = dataFolder.resolve(" face" ))
You can’t perform that action at this time.
0 commit comments