GKMSPatch/patch-loader
NkBe 74bbeb9bda
patch-loader: 優化配置和資源處理
Add a shared Gson instance and harden config/module/asset loading to avoid NPEs and crashes. Guard legacy module iteration, use apply() for SharedPreferences, throw when config asset is missing, reuse GSON for parsing, and null-check resource streams before copying. Also set provider dex file writable only if created and remove some unused imports. These changes improve resilience when manager/asset data is unavailable and clean up file handling.
2026-02-10 17:46:38 +08:00
..
src/main patch-loader: 優化配置和資源處理 2026-02-10 17:46:38 +08:00
.gitignore Switch into mainline core branch 2022-03-17 19:52:05 +08:00
build.gradle.kts Refactor:Replace all instances of `lspatch` with `npatch` 2025-12-02 23:42:23 +08:00
proguard-rules.pro Switch into mainline core branch 2022-03-17 19:52:05 +08:00