Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 01:29:34 +00:00
chore: Remove dependency list from patches-list.json
This commit is contained in:
1 parent
78af425442
commit
67c703695c
1 file changed
-2
@@ -46,7 +46,6 @@ private fun generatePatchList(version: String, patches: Set<Patch<*>>) {
|
|||||||
description = patch.description,
|
description = patch.description,
|
||||||
default = patch.default,
|
default = patch.default,
|
||||||
category = patch.category,
|
category = patch.category,
|
||||||
dependencies = patch.dependencies.map { it.javaClass.simpleName },
|
|
||||||
// Map each Compatibility to a JsonCompatibility object with full metadata.
|
// Map each Compatibility to a JsonCompatibility object with full metadata.
|
||||||
// Patches with null compatiblePackages are universal (apply to any app).
|
// Patches with null compatiblePackages are universal (apply to any app).
|
||||||
compatiblePackages = patch.compatibility?.map { compat ->
|
compatiblePackages = patch.compatibility?.map { compat ->
|
||||||
@@ -110,7 +109,6 @@ private class JsonPatch(
|
|||||||
val default: Boolean = true,
|
val default: Boolean = true,
|
||||||
/** Null when the patch declares no category and is left ungrouped. */
|
/** Null when the patch declares no category and is left ungrouped. */
|
||||||
val category: String? = null,
|
val category: String? = null,
|
||||||
val dependencies: List<String>,
|
|
||||||
/** Null means the patch is universal and applies to any app. */
|
/** Null means the patch is universal and applies to any app. */
|
||||||
val compatiblePackages: List<JsonCompatibility>? = null,
|
val compatiblePackages: List<JsonCompatibility>? = null,
|
||||||
val options: List<Option>,
|
val options: List<Option>,
|
||||||
|
|||||||
Reference in new issue
Block a user