Skip to content

Commit 812958b

Browse files
committed
build: Fixed bugs that the desktop version of App release package cannot run
1 parent 47d69fa commit 812958b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sample/compose-desktop.pro

+9-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,12 @@
7474
-if @kotlinx.serialization.Serializable class com.github.panpf.zoomimage.sample.**
7575
-keepclassmembers class com.github.panpf.zoomimage.sample.<1>$Companion {
7676
kotlinx.serialization.KSerializer serializer(...);
77-
}
77+
}
78+
79+
# ----------------------------------------- Sketch Privider --------------------------------------------- #
80+
-keep class * implements com.github.panpf.sketch.util.DecoderProvider { *; }
81+
-keep class * implements com.github.panpf.sketch.util.FetcherProvider { *; }
82+
83+
# ----------------------------------------- Coil Privider --------------------------------------------- #
84+
-keep class * implements coil3.util.FetcherServiceLoaderTarget { *; }
85+
-keep class * implements coil3.util.DecoderServiceLoaderTarget { *; }

0 commit comments

Comments
 (0)