diff --git a/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt b/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt index 7d7e247..0fed8d4 100644 --- a/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt +++ b/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt @@ -27,7 +27,11 @@ import me.fycz.maple.MapleUtils import me.fycz.maple.MethodHook import xyz.fycz.dynamic.fix.* import xyz.fycz.myreader.application.App +import xyz.fycz.myreader.entity.PluginConfig import xyz.fycz.myreader.ui.activity.MainActivity +import xyz.fycz.myreader.util.SharedPreUtils +import xyz.fycz.myreader.util.utils.GSON +import xyz.fycz.myreader.util.utils.fromJsonObject /** * @author fengyue @@ -132,6 +136,9 @@ class AppLoadImpl : IAppLoader { } fun getPluginLoadInfo(): String { - return allFixInfoSb.toString() + val pluginConfig = GSON.fromJsonObject( + SharedPreUtils.getInstance().getString("pluginConfig") + ) ?: PluginConfig("dynamic.dex", 100) + return "当前版本更新日志:\n${pluginConfig.changelog}\n\n插件加载结果:\n" + allFixInfoSb.toString() } } diff --git a/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix2.kt b/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix2.kt index bdcbc89..87cea33 100644 --- a/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix2.kt +++ b/dynamic/src/main/java/xyz/fycz/dynamic/fix/App246Fix2.kt @@ -27,7 +27,7 @@ import xyz.fycz.myreader.widget.page.PageView * @author fengyue * @date 2022/6/23 20:51 */ -@AppFix([], ["修复阅读界面概率性闪退的问题"], "2022-06-23") +@AppFix([243, 244, 245, 246], ["修复阅读界面概率性闪退的问题"], "2022-06-23") class App246Fix2 : AppFixHandle { override fun onFix(key: String): BooleanArray { return handleFix(