chore: Update patch list generator and dependency

This commit is contained in:
LisoUseInAIKyrios committed 2026-10-22 09:51:20 +00:00
1 parent d4fa1045bf
commit b78da220fb
3 files changed
+36 -15

No files matched your search

@@ -57,6 +57,7 @@ private fun generatePatchList(version: String, patches: Set<Patch<*>>) {
// Format as #RRGGBB string for readability; null if not set
appIconColor = compat.appIconColor?.let { "#%06X".format(it) },
signatures = compat.signatures,
formFactor = compat.formFactor?.name,
targets = compat.targets.map { target ->
JsonCompatibility.Target(
version = target.version,
@@ -139,6 +140,8 @@ private class JsonCompatibility(
val appIconColor: String?,
/** Valid SHA-256 signatures of the app. */
val signatures: Set<String>?,
/** Device form factor of the app, e.g. MOBILE, TV. Null means all form factors. */
val formFactor: String?,
val targets: List<Target>,
) {
class Target(