feat(custom-button): Add JSON parsing support

This commit is contained in:
loner
2025-10-29 20:28:59 +08:00
parent db7e67c686
commit 07a8f8c280
4 changed files with 77 additions and 59 deletions
+4
View File
@@ -1120,6 +1120,10 @@
"collapse-condition": {
"label": "Collapse condition",
"description": "If the output text matches this value, the button will collapse."
},
"parse-json": {
"label": "Parse output as JSON",
"description": "Parse the command output as a JSON object to dynamically set text and icon."
}
},
"media-mini": {