Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Update patch list generator and dependency
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user