Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-11-30 23:09: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,
|
||||
default = patch.default,
|
||||
category = patch.category,
|
||||
dependencies = patch.dependencies.map { it.javaClass.simpleName },
|
||||
// Map each Compatibility to a JsonCompatibility object with full metadata.
|
||||
// Patches with null compatiblePackages are universal (apply to any app).
|
||||
compatiblePackages = patch.compatibility?.map { compat ->
|
||||
@@ -110,7 +109,6 @@ private class JsonPatch(
|
||||
val default: Boolean = true,
|
||||
/** Null when the patch declares no category and is left ungrouped. */
|
||||
val category: String? = null,
|
||||
val dependencies: List<String>,
|
||||
/** Null means the patch is universal and applies to any app. */
|
||||
val compatiblePackages: List<JsonCompatibility>? = null,
|
||||
val options: List<Option>,
|
||||
|
||||
Reference in new issue
Block a user