wtfos-configurator icon indicating copy to clipboard operation
wtfos-configurator copied to clipboard

Allow packages to supply a dynamic config schema

Open j005u opened this issue 1 year ago • 1 comments

This change allows packages to supply an executable at /opt/etc/package-config/package-name/schemaV2 and /opt/etc/package-config/package-name/uiSchemaV2 that outputs the appropriate schema instead of a static .json file.

For example, msp-osd can populate font options dynamically.

The --config-schema and --config-ui-schema flags get appended accordingly to executable calls to allow for easy symlinking to executable that might serve multiple purposes.

j005u avatar May 13 '23 16:05 j005u

Here's an example schemaV2 executable for msp-osd schemaV2.zip

j005u avatar May 13 '23 22:05 j005u